From 774ec67e22f5fcabfa88a29002eaffa11284d68c Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 30 Jul 2017 18:22:53 +0200 Subject: [PATCH] Repair sodium_core test --- test/default/sodium_core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;