History log of /sssd/src/tests/cmocka/test_authtok.c
Revision Date Author Comments Expand
10703cd558016685ee778e333f1d4490238d46e7 31-Jul-2015 Sumit Bose <sbose@redhat.com>

authok: add support for Smart Card related authtokens Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

bc052ea17d858c19f9cb9c9e2bc602e754f68831 08-May-2015 Sumit Bose <sbose@redhat.com>

utils: add sss_authtok_[gs]et_2fa Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

80b5dbe123ec94c5a8fcb99f9a4953c1513deb58 08-May-2015 Sumit Bose <sbose@redhat.com>

Add leak check and command line option to test_authtok Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

4e5e846de22407f825fe3b4040d79606818a2419 11-Mar-2015 Jakub Hrozek <jhrozek@redhat.com>

tests: convert all unit tests to cmocka 1.0 or later All tests now use the cmocka-1.0-compatible API. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

8c4aeae19dbb436c17b5f4032285adbaed727eea 24-Jan-2014 Lukas Slebodnik <lslebodn@redhat.com>

TESTS: Fix authtok test for zero length string. 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 ""

4b8021779e4db2a212a8214c17e778e843ae2b3a 10-Jan-2014 Stef Walter <stefw@redhat.com>

util: Fix const cast failures when building with -Werror 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

461da2984c747708e8badd27fa55ef879f40e712 09-Jan-2014 Pallavi Jha <pallavikumarijha@gmail.com>

cmocka unit test for authtok module added