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

Remove the dummy FS call from the Javascript tests

This commit is contained in:
Frank Denis 2017-12-21 21:36:15 +01:00
parent 72ab8739a2
commit 8a2833f01a

View File

@ -137,9 +137,6 @@ int main(void)
if (sodium_init() != 0) { if (sodium_init() != 0) {
return 99; return 99;
} }
#ifdef __EMSCRIPTEN__
(void) fopen("/dev/null", "r");
#endif
#ifndef __EMSCRIPTEN__ #ifndef __EMSCRIPTEN__
randombytes_set_implementation(&randombytes_salsa20_implementation); randombytes_set_implementation(&randombytes_salsa20_implementation);