Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7b96701

Browse filesBrowse files
authored
gh-133042: disable HACL* HMAC on Emscripten (#133064)
1 parent d8c118f commit 7b96701
Copy full SHA for 7b96701

File tree

Expand file treeCollapse file tree

2 files changed

+5
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-2
lines changed

‎configure

Copy file name to clipboardExpand all lines: configure
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎configure.ac

Copy file name to clipboardExpand all lines: configure.ac
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8051,7 +8051,10 @@ PY_HACL_CREATE_MODULE([BLAKE2], [_blake2], [test "$with_builtin_blake2" = yes])
80518051
dnl HMAC builtin library does not need OpenSSL for now. In the future
80528052
dnl we might want to rely on OpenSSL EVP/NID interface or implement
80538053
dnl our own for algorithm resolution.
8054-
PY_HACL_CREATE_MODULE([HMAC], [_hmac], [])
8054+
dnl
8055+
dnl For Emscripten, we disable HACL* HMAC as it is tricky to make it work.
8056+
dnl See https://github.com/python/cpython/issues/133042.
8057+
PY_HACL_CREATE_MODULE([HMAC], [_hmac], [test "$ac_sys_system" != "Emscripten"])
80558058
### end(cryptographic primitives)
80568059

80578060
PY_STDLIB_MOD([_ctypes],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.