mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 12:36:01 -07:00
Repair sodium_core test
This commit is contained in:
parent
8a14f5c167
commit
774ec67e22
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user