projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC Thread Queue API
[silc.git]
/
lib
/
silccrypt
/
tests
/
test_hmacmd5.c
diff --git
a/lib/silccrypt/tests/test_hmacmd5.c
b/lib/silccrypt/tests/test_hmacmd5.c
index 94f779526f7b587c786314c60ea419558566c38f..8b41389b62eac75211d9db168d9a56de9fe6246e 100644
(file)
--- a/
lib/silccrypt/tests/test_hmacmd5.c
+++ b/
lib/silccrypt/tests/test_hmacmd5.c
@@
-1,4
+1,4
@@
-#include "silc
includes
.h"
+#include "silc.h"
/* Test vectors from RFC 2202 */
/* Test vectors from RFC 2202 */
@@
-28,14
+28,14
@@
const unsigned char data4_digest[] = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee\x1f\xb1\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];
SilcUInt32 len;
SilcHmac hmac;
if (argc > 1 && !strcmp(argv[1], "-d")) {
unsigned char digest[16];
SilcUInt32 len;
SilcHmac hmac;
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*,*hmac*");
}
silc_log_set_debug_string("*crypt*,*hash*,*md5*,*hmac*");
}