wasm bug check: use a function more likely to be present in minimal builds

This commit is contained in:
Frank Denis
2018-03-06 10:56:46 +01:00
parent cab7cc6a88
commit 6382b91060
+1 -1
View File
@@ -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);