Skip to content

Commit 51f7ec6

Browse files
author
bryanmcquade
authored
Update limits.h
1 parent 2c38a31 commit 51f7ec6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/proxy-wasm/limits.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
#endif
2626

2727
// Maximum allowed random_get buffer size. This value is consistent with
28-
// the JavaScript Crypto.getRandomValues() maximum buffer size.
28+
// the JavaScript Crypto.getRandomValues() maximum buffer size. See
29+
// https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues#exceptions
2930
#ifndef PROXY_WASM_HOST_WASI_RANDOM_GET_MAX_SIZE_BYTES
3031
#define PROXY_WASM_HOST_WASI_RANDOM_GET_MAX_SIZE_BYTES (64 * 1024)
3132
#endif

0 commit comments

Comments
 (0)