xref: /openbsd/regress/gnu/egcs/gcc-bounds/md-4.c (revision d415bd75)
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <sys/types.h>
4 #include <md5.h>
5 
6 const unsigned char data[] = "1234567890abcdefghijklmnopqrstuvwxyz";
7 
8 int
9 main(int argc, char **argv)
10 {
11 	MD5_CTX ctx;
12 	char ret[10];
13 
14 	MD5Init(&ctx);
15 	MD5Data(data, sizeof data - 1, ret);
16 	printf("%s\n", ret);
17 }
18