emscripten: stick to the unique randombytes implementation

This commit is contained in:
Frank Denis 2017-12-21 00:32:42 +01:00
parent a2c18ca3ba
commit dd0aa7cccf

View File

@ -161,7 +161,9 @@ main(void)
#endif
printf("OK\n");
#ifndef __EMSCRIPTEN__
randombytes_set_implementation(&randombytes_salsa20_implementation);
#endif
return 0;
}