We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74fd7b3 commit b31eef6Copy full SHA for b31eef6
extmod/modhashlib.c
@@ -297,7 +297,7 @@ STATIC mp_obj_t hashlib_md5_digest(mp_obj_t self_in) {
297
298
#if MICROPY_SSL_MBEDTLS
299
300
-#if MBEDTLS_VERSION_NUMBER < 0x02070000
+#if MBEDTLS_VERSION_NUMBER < 0x02070000 || MBEDTLS_VERSION_NUMBER >= 0x03000000
301
#define mbedtls_md5_starts_ret mbedtls_md5_starts
302
#define mbedtls_md5_update_ret mbedtls_md5_update
303
#define mbedtls_md5_finish_ret mbedtls_md5_finish
0 commit comments