Use default randombytes implementation for tests on emscripten
This commit is contained in:
parent
13201046e6
commit
dce1614eee
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user