summaryrefslogtreecommitdiffstatshomepage
path: root/unix/mpconfigport.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-13 01:49:38 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-13 01:49:38 +0300
commit20283aec107d60f4339268f56fdf451d8867b49a (patch)
tree3b5b18862e780ff4703ec712407eca03eb0c069d /unix/mpconfigport.h
parente32d1e17bb7c17b5474c4be696e5428ece973301 (diff)
downloadmicropython-20283aec107d60f4339268f56fdf451d8867b49a.tar.gz
micropython-20283aec107d60f4339268f56fdf451d8867b49a.zip
extmod/modussl_axtls: Further changes to allow alternative SSL modules.
Make variable MICROPY_SSL_AXTLS=1 should be defined to activate modussl_axtls and link with -laxtls.
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r--unix/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 06c4edc1e2..30441c9fd2 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -111,7 +111,7 @@
#define MICROPY_PY_URE (1)
#define MICROPY_PY_UHEAPQ (1)
#define MICROPY_PY_UHASHLIB (1)
-#if MICROPY_PY_USSL
+#if MICROPY_PY_USSL && MICROPY_SSL_AXTLS
#define MICROPY_PY_UHASHLIB_SHA1 (1)
#endif
#define MICROPY_PY_UBINASCII (1)