From 13201046e675d85677dac97e520955f35a79f270 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; }