diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-11 21:58:58 +0300 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-11 21:58:58 +0300 |
| commit | 1a327c4fa3bbfb1741eb635cfa51c9187897ce2d (patch) | |
| tree | c7a3d6dd213144bdb81a5602a4ee8b3dcd4f5715 /unix | |
| parent | f49d63a75c3705745eff12d602d71265593c4bad (diff) | |
unix: Build with MICROPY_PY_UHASHLIB_SHA1 if already building with axTLS.
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/mpconfigport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 36e98735f..daaac4395 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -104,6 +104,9 @@ #define MICROPY_PY_URE (1) #define MICROPY_PY_UHEAPQ (1) #define MICROPY_PY_UHASHLIB (1) +#if MICROPY_PY_USSL +#define MICROPY_PY_UHASHLIB_SHA1 (1) +#endif #define MICROPY_PY_UBINASCII (1) #define MICROPY_PY_URANDOM (1) #ifndef MICROPY_PY_USELECT |
