1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00

Use default randombytes implementation for tests on emscripten

This commit is contained in:
Frank Denis 2017-12-21 02:02:39 +01:00
parent 13201046e6
commit dce1614eee

View File

@ -137,7 +137,9 @@ int main(void)
if (sodium_init() != 0) {
return 99;
}
#ifndef __EMSCRIPTEN__
randombytes_set_implementation(&randombytes_salsa20_implementation);
#endif
ts_start = now();
for (i = 0; i < ITERATIONS; i++) {
if (xmain() != 0) {