diff --git a/test/default/sodium_core.c b/test/default/sodium_core.c index ee819cc0..be63bc45 100644 --- a/test/default/sodium_core.c +++ b/test/default/sodium_core.c @@ -27,9 +27,11 @@ main(void) (void) sodium_runtime_has_aesni(); sodium_set_misuse_handler(misuse_handler); -#ifdef __EMSCRIPTEN__ +#ifndef __EMSCRIPTEN__ sodium_misuse(); printf("Misuse handler returned\n"); +#else + printf("misuse_handler()\n"); #endif return 0;