diff options
Diffstat (limited to 'test/crypt/md5c-test.c')
-rw-r--r-- | test/crypt/md5c-test.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/crypt/md5c-test.c b/test/crypt/md5c-test.c deleted file mode 100644 index 3c6154021..000000000 --- a/test/crypt/md5c-test.c +++ /dev/null @@ -1,19 +0,0 @@ -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <crypt.h> - -int -main (int argc, char *argv[]) -{ - const char salt[] = "$1$saltstring"; - char *cp; - - cp = crypt ("Hello world!", salt); - if (strcmp ("$1$saltstri$YMyguxXMBpd2TEZ.vS/3q1", cp)) { - fprintf(stderr, "Failed md5 crypt test!\n"); - return EXIT_FAILURE; - } - fprintf(stderr, "Passed md5 crypt test!\n"); - return EXIT_SUCCESS; -} |