diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 36e98735f6..daaac43950 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