From 6382b91060a48c4654c8751b2078763ebc08e42d Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 6 Mar 2018 10:56:05 +0100 Subject: [PATCH] wasm bug check: use a function more likely to be present in minimal builds --- dist-build/emscripten.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index 06f2dd47..9e79bb19 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -102,7 +102,7 @@ if [ "$DIST" = yes ]; then Module.onRuntimeInitialized = function () { try { /* Test arbitrary wasm function */ - Module._crypto_stream_chacha20_keybytes(); + Module._crypto_secretbox_keybytes(); resolve(); } catch (err) { reject(err);