Hurd: Define some posix types
[glibc.git] / crypt / md5c-test.c
blobf56d0eb4ab68628ce59cc6984eb949fedc1f4c7d
1 #include <crypt.h>
2 #include <string.h>
4 int
5 main (int argc, char *argv[])
7 const char salt[] = "$1$saltstring";
8 char *cp;
9 int result = 0;
11 cp = crypt ("Hello world!", salt);
12 result |= strcmp ("$1$saltstri$YMyguxXMBpd2TEZ.vS/3q1", cp);
14 return result;