Go to the documentation of this file.
66 int main(
int argc,
char *argv[])
68 printf(
"No MD5 support\n");
80 "abcdefghijklmnopqrstuvwxyz",
81 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
82 "12345678901234567890123456789012345678901234567890123456789012345678901234567890",
87 "d41d8cd98f00b204e9800998ecf8427e",
88 "0cc175b9c0f1b6a831c399e269772661",
89 "900150983cd24fb0d6963f7d28e17f72",
90 "f96b697d7cb7938d525a2f31aaf161d0",
91 "c3fcd3d76192e4007dfb496cca67e13b",
92 "d174ab98d277d9f5a5611c2c9f419d9f",
93 "57edf4a22be3c955ac49da2e2107b67a",
96 static char *
pt(
unsigned char *md);
97 int main(
int argc,
char *argv[])
111 if (strcmp(p,(
char *)*R) != 0)
113 printf(
"error calculating MD5 on '%s'\n",*P);
114 printf(
"got %s instead of %s\n",p,*R);
118 printf(
"test %d ok\n",i);
124 #ifdef OPENSSL_SYS_NETWARE
125 if (err) printf(
"ERROR: %d\n", err);
131 static char *
pt(
unsigned char *md)
137 sprintf(&(buf[i*2]),
"%02x",md[i]);