Browse Source

Avoid mult-byte code error

Takashi Kojo 10 months ago
parent
commit
136738fd33
2 changed files with 4 additions and 0 deletions
  1. 2 0
      examples/client/client.c
  2. 2 0
      examples/server/server.c

+ 2 - 0
examples/client/client.c

@@ -1859,7 +1859,9 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
         { "wolfsentry-config", 1, 256 },
 #endif
         { "help", 0, 257 },
+#ifndef NO_MULTIBYTE_PRINT
         { "ヘルプ", 0, 258 },
+#endif
 #if defined(HAVE_PQC)
         { "pqc", 1, 259 },
 #endif

+ 2 - 0
examples/server/server.c

@@ -1399,7 +1399,9 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
         { "wolfsentry-config", 1, 256 },
 #endif
         { "help", 0, 257 },
+#ifndef NO_MULTIBYTE_PRINT
         { "ヘルプ", 0, 258 },
+#endif
 #if defined(HAVE_PQC)
         { "pqc", 1, 259 },
 #endif