Skip to content

Commit b9a23f7

Browse files
author
bryanmcquade
authored
Update limits.h
Updates Crypto.getRandomValues() link to point to the spec (canonical source).
1 parent 925c038 commit b9a23f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/proxy-wasm/limits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
// Maximum allowed random_get buffer size. This value is consistent with
2828
// the JavaScript Crypto.getRandomValues() maximum buffer size. See
29-
// https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues#exceptions
29+
// https://w3c.github.io/webcrypto/#Crypto-method-getRandomValues
3030
#ifndef PROXY_WASM_HOST_WASI_RANDOM_GET_MAX_SIZE_BYTES
3131
#define PROXY_WASM_HOST_WASI_RANDOM_GET_MAX_SIZE_BYTES (64 * 1024)
3232
#endif

0 commit comments

Comments
 (0)