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_hmacsha1.c
diff --git
a/lib/silccrypt/tests/test_hmacsha1.c
b/lib/silccrypt/tests/test_hmacsha1.c
index a5a67b61fe6bec3f6061d8d38ba0b13d9c98fa77..887453476e16912b719d5aabeda93a01e56eff5f 100644
(file)
--- a/
lib/silccrypt/tests/test_hmacsha1.c
+++ b/
lib/silccrypt/tests/test_hmacsha1.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[] = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b\x
int main(int argc, char **argv)
{
int main(int argc, char **argv)
{
-
b
ool success = FALSE;
+
SilcB
ool success = FALSE;
unsigned char digest[20];
SilcUInt32 len;
SilcHmac hmac;
if (argc > 1 && !strcmp(argv[1], "-d")) {
unsigned char digest[20];
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*,*sha1*,*hmac*");
}
silc_log_set_debug_string("*crypt*,*hash*,*sha1*,*hmac*");
}