projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC Server library.
[silc.git]
/
lib
/
silccrypt
/
tests
/
test_md5.c
diff --git
a/lib/silccrypt/tests/test_md5.c
b/lib/silccrypt/tests/test_md5.c
index 5f9ac5c1200f30aab6ffe0677c4d381dc893c656..2dac7d33771a81f33312727284c23c026313e9ed 100644
(file)
--- a/
lib/silccrypt/tests/test_md5.c
+++ b/
lib/silccrypt/tests/test_md5.c
@@
-1,4
+1,4
@@
-#include "silc
includes
.h"
+#include "silc.h"
/* Test vectors from RFC 1321 */
/* Test vectors from RFC 1321 */
@@
-16,13
+16,13
@@
const unsigned char data3_digest[] = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5\xa5\x61\x
int main(int argc, char **argv)
{
int main(int argc, char **argv)
{
-
b
ool success = FALSE;
+
SilcB
ool success = FALSE;
unsigned char digest[16];
SilcHash md5;
if (argc > 1 && !strcmp(argv[1], "-d")) {
unsigned char digest[16];
SilcHash md5;
if (argc > 1 && !strcmp(argv[1], "-d")) {
- silc_
debug = 1
;
- silc_
debug_hexdump = 1
;
+ silc_
log_debug(TRUE)
;
+ silc_
log_debug_hexdump(TRUE)
;
silc_log_set_debug_string("*crypt*,*hash*,*md5*");
}
silc_log_set_debug_string("*crypt*,*hash*,*md5*");
}