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.
This commit is contained in:
Damien George 2016-10-06 12:28:28 +11:00
parent 0bb3c7d3b7
commit 056da75a8a
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@
#define MICROPY_PY_UBINASCII (1)
#define MICROPY_PY_UCTYPES (1)
#define MICROPY_PY_UHASHLIB (1)
#define MICROPY_PY_UHASHLIB_SHA1 (1)
#define MICROPY_PY_UHASHLIB_SHA1 (MICROPY_PY_USSL && MICROPY_SSL_AXTLS)
#define MICROPY_PY_UHEAPQ (1)
#define MICROPY_PY_UJSON (1)
#define MICROPY_PY_URANDOM (1)