Skip to content

Commit 7b96701

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

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

configure

Lines 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

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy