Added SILC Server library.
[silc.git] / lib / silccrypt / tests / test_hmacmd5.c
index 94f779526f7b587c786314c60ea419558566c38f..8b41389b62eac75211d9db168d9a56de9fe6246e 100644 (file)
@@ -1,4 +1,4 @@
-#include "silcincludes.h"
+#include "silc.h"
 
 /* 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)
 {
-  bool success = FALSE;
+  SilcBool success = FALSE;
   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*");
   }