mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
unix/mpconfigport.h: Enable MICROPY_PY_UHASHLIB_MD5 for uhashlib.md5.
This will allow to e.g. implement HTTP Digest authentication. Adds 540 bytes for x86_32, 332 for arm_thumb2 (for Unix port, which already includes axTLS library).
This commit is contained in:
committed by
Damien George
parent
84090edaa3
commit
af2030dec6
@@ -126,6 +126,7 @@
|
||||
#define MICROPY_PY_UTIMEQ (1)
|
||||
#define MICROPY_PY_UHASHLIB (1)
|
||||
#if MICROPY_PY_USSL
|
||||
#define MICROPY_PY_UHASHLIB_MD5 (1)
|
||||
#define MICROPY_PY_UHASHLIB_SHA1 (1)
|
||||
#define MICROPY_PY_UCRYPTOLIB (1)
|
||||
#endif
|
||||
|
||||
@@ -54,7 +54,6 @@
|
||||
#define MICROPY_VFS_FAT (1)
|
||||
#define MICROPY_PY_FRAMEBUF (1)
|
||||
#define MICROPY_PY_COLLECTIONS_NAMEDTUPLE__ASDICT (1)
|
||||
#define MICROPY_PY_UHASHLIB_MD5 (1)
|
||||
#define MICROPY_PY_UCRYPTOLIB (1)
|
||||
|
||||
// TODO these should be generic, not bound to fatfs
|
||||
|
||||
Reference in New Issue
Block a user