1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 12:36:01 -07:00

Don't call sodium_misuse() in the sodium_core test for Javascript/wasm targets

This commit is contained in:
Frank Denis 2017-07-30 18:10:00 +02:00
parent 0ce03b6cea
commit 8a14f5c167

View File

@ -27,8 +27,10 @@ main(void)
(void) sodium_runtime_has_aesni();
sodium_set_misuse_handler(misuse_handler);
#ifdef __EMSCRIPTEN__
sodium_misuse();
printf("Misuse handler returned\n");
#endif
return 0;
}