mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-23 13:09:58 +08:00
Correct names of MD5 functions after removing of public names.
This commit is contained in:
parent
58f44f88d2
commit
40d8b73e44
@ -35,9 +35,9 @@ main (int argc, char *argv[])
|
|||||||
|
|
||||||
for (cnt = 0; cnt < (int) (sizeof (tests) / sizeof (tests[0])); ++cnt)
|
for (cnt = 0; cnt < (int) (sizeof (tests) / sizeof (tests[0])); ++cnt)
|
||||||
{
|
{
|
||||||
md5_init_ctx (&ctx);
|
__md5_init_ctx (&ctx);
|
||||||
md5_process_bytes (tests[cnt].input, strlen (tests[cnt].input), &ctx);
|
__md5_process_bytes (tests[cnt].input, strlen (tests[cnt].input), &ctx);
|
||||||
md5_finish_ctx (&ctx, sum);
|
__md5_finish_ctx (&ctx, sum);
|
||||||
result |= memcmp (tests[cnt].result, sum, 16);
|
result |= memcmp (tests[cnt].result, sum, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user