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 #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;
} }