Repair sodium_core test

This commit is contained in:
Frank Denis 2017-07-30 18:22:53 +02:00
parent 8a14f5c167
commit 774ec67e22

View File

@ -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;