projects
/
platform
/
upstream
/
glibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix BZ#14090 - md5/sha512 with large sizes
[platform/upstream/glibc.git]
/
crypt
/
md5c-test.c
1
#include <crypt.h>
2
#include <string.h>
3
4
int
5
main (int argc, char *argv[])
6
{
7
const char salt[] = "$1$saltstring";
8
char *cp;
9
int result = 0;
10
11
cp = crypt ("Hello world!", salt);
12
result |= strcmp ("$1$saltstri$YMyguxXMBpd2TEZ.vS/3q1", cp);
13
14
return result;
15
}