Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | TESTS: Fix authtok test for zero length string. | Lukas Slebodnik | 2014-01-24 | 1 | -1/+1 |
| | | | | | | | There is a test for sss_authtok_set where '\0' is used as argument data. '\0' is evaluated as zero and zero is treated as a null pointer. And there is another test for NULL pointer few lines before. Patch changes 3rd argument '\0' into properly cast zero length sting "" | ||||
* | util: Fix const cast failures when building with -Werror | Stef Walter | 2014-01-10 | 1 | -6/+6 |
| | | | | | | | | | | When building with -Werror 'make check' fails with many errors like: ../src/tests/cmocka/test_authtok.c: In function ‘test_sss_authtok_password’: ../src/tests/cmocka/test_authtok.c:98:48: error: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Werror=cast-qual] Make sss_authtok_set() @data argument const, and fix its documentation | ||||
* | cmocka unit test for authtok module added | Pallavi Jha | 2014-01-09 | 1 | -0/+303 |