Added SILC Server library.
[silc.git] / lib / silccrypt / tests / test_aes.c
index 11f8076c36546cc9ffc238a69ac45cfc8b4a00f7..1048cc5173eaec438233e060723c2b9b5b587306 100644 (file)
@@ -1,5 +1,5 @@
 
-#include "silcincludes.h"
+#include "silc.h"
 
 /* Test vectors from RFC3602. */
 
@@ -22,14 +22,14 @@ const unsigned char c2[] = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a\x3a\x86\x30\x28\xb5
 
 int main(int argc, char **argv)
 {
-  bool success = FALSE;
+  SilcBool success = FALSE;
   SilcCipher cipher;
   unsigned char dst[256], pdst[256];
   int i;
 
   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*,*aes*,*cipher*");
   }