From dd0aa7cccf385abeb022bd1396537cbcef8f5fa5 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 21 Dec 2017 00:32:42 +0100 Subject: [PATCH] emscripten: stick to the unique randombytes implementation --- test/default/randombytes.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/default/randombytes.c b/test/default/randombytes.c index 551afaf4..bdc5cca4 100644 --- a/test/default/randombytes.c +++ b/test/default/randombytes.c @@ -161,7 +161,9 @@ main(void) #endif printf("OK\n"); +#ifndef __EMSCRIPTEN__ randombytes_set_implementation(&randombytes_salsa20_implementation); +#endif return 0; }