Added SILC Server library.
[silc.git] / lib / silcutil / tests / test_silcstringprep.c
index 26ff2aaf9f5f9d6b5cec87d2b6c9b8c90808f743..62c0be2eb7b5a2e0079630772c324eb1786642a2 100644 (file)
@@ -1,6 +1,6 @@
 /* Stringprep tests */
 
-#include "silcincludes.h"
+#include "silc.h"
 
 typedef struct {
   const char *comment;
@@ -70,15 +70,16 @@ const test_st tests_norm[] = {
 
 int main(int argc, char **argv)
 {
-  bool success = FALSE;
+  SilcBool success = FALSE;
   int i, enc;
   unsigned char *out = NULL;
   SilcUInt32 out_len;
   SilcStringprepStatus ret;
 
   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_quick(TRUE);
     silc_log_set_debug_string("*stringprep*,*utf8*");
   }