mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
wasm bug check: use a function more likely to be present in minimal builds
This commit is contained in:
parent
cab7cc6a88
commit
6382b91060
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user