Skip to content

Commit 056da75

Browse files
committed
esp8266: Make PY_UHASHLIB_SHA1 config depend on PY_USSL and SSL_AXTLS.
SHA1 can only be supported if ussl module is compiled in, and it uses axtls.
1 parent 0bb3c7d commit 056da75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp8266/mpconfigport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
#define MICROPY_PY_UBINASCII (1)
5454
#define MICROPY_PY_UCTYPES (1)
5555
#define MICROPY_PY_UHASHLIB (1)
56-
#define MICROPY_PY_UHASHLIB_SHA1 (1)
56+
#define MICROPY_PY_UHASHLIB_SHA1 (MICROPY_PY_USSL && MICROPY_SSL_AXTLS)
5757
#define MICROPY_PY_UHEAPQ (1)
5858
#define MICROPY_PY_UJSON (1)
5959
#define MICROPY_PY_URANDOM (1)

0 commit comments

Comments
 (0)