~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build system: remove *~ files in clean target
[secnet]
/
md5.c
diff --git
a/md5.c
b/md5.c
index
8c962d9
..
71fb4f1
100644
(file)
--- a/
md5.c
+++ b/
md5.c
@@
-272,7
+272,7
@@
void md5_module(dict_t *dict)
{
struct md5 *st;
void *ctx;
{
struct md5 *st;
void *ctx;
- string_t testinput="12345\n";
+
c
string_t testinput="12345\n";
uint8_t expected[16]=
{0xd5,0x77,0x27,0x3f,0xf8,0x85,0xc3,0xf8,
0x4d,0xad,0xb8,0x57,0x8b,0xb4,0x13,0x99};
uint8_t expected[16]=
{0xd5,0x77,0x27,0x3f,0xf8,0x85,0xc3,0xf8,
0x4d,0xad,0xb8,0x57,0x8b,0xb4,0x13,0x99};
@@
-296,7
+296,7
@@
void md5_module(dict_t *dict)
md5_final(ctx,digest);
for (i=0; i<16; i++) {
if (digest[i]!=expected[i]) {
md5_final(ctx,digest);
for (i=0; i<16; i++) {
if (digest[i]!=expected[i]) {
- fatal("md5 module failed self-test
\n
");
+ fatal("md5 module failed self-test");
}
}
}
}
}
}