Added SILC Thread Queue API
[silc.git] / lib / silccrypt / tests / test_hmacsha1.c
index a5a67b61fe6bec3f6061d8d38ba0b13d9c98fa77..887453476e16912b719d5aabeda93a01e56eff5f 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[] = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b\x
 
 int main(int argc, char **argv)
 {
-  bool success = FALSE;
+  SilcBool success = FALSE;
   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*");
   }