emscripten: stick to the unique randombytes implementation
This commit is contained in:
parent
a2c18ca3ba
commit
dd0aa7cccf
@ -161,7 +161,9 @@ main(void)
|
|||||||
#endif
|
#endif
|
||||||
printf("OK\n");
|
printf("OK\n");
|
||||||
|
|
||||||
|
#ifndef __EMSCRIPTEN__
|
||||||
randombytes_set_implementation(&randombytes_salsa20_implementation);
|
randombytes_set_implementation(&randombytes_salsa20_implementation);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user