Commit b31eef60 authored by IhorNehrutsa's avatar IhorNehrutsa Committed by Damien George

extmod/modhashlib: Support MD5 with mbedtls 3.x.

This change was missd in e7ae3ad9.
Signed-off-by: default avatarIhorNehrutsa <Ihor.Nehrutsa@gmail.com>
parent 74fd7b3d
......@@ -297,7 +297,7 @@ STATIC mp_obj_t hashlib_md5_digest(mp_obj_t self_in) {
#if MICROPY_SSL_MBEDTLS
#if MBEDTLS_VERSION_NUMBER < 0x02070000
#if MBEDTLS_VERSION_NUMBER < 0x02070000 || MBEDTLS_VERSION_NUMBER >= 0x03000000
#define mbedtls_md5_starts_ret mbedtls_md5_starts
#define mbedtls_md5_update_ret mbedtls_md5_update
#define mbedtls_md5_finish_ret mbedtls_md5_finish
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment