From 3dd0b580432dc93f82d281d2fecc93c54c452706 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Fri, 17 Jan 2025 17:13:47 -0700 Subject: [PATCH] add MD4h to list --- src/ssl.c | 3 +++ wolfssl/wolfcrypt/asn.h | 1 + 2 files changed, 4 insertions(+) diff --git a/src/ssl.c b/src/ssl.c index c0adf4b309..ac18b71cbf 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -18277,6 +18277,9 @@ const WOLFSSL_ObjectInfo wolfssl_object_info[] = { #ifdef WOLFSSL_MD2 { WC_NID_md2, MD2h, oidHashType, "MD2", "md2"}, #endif + #ifndef NO_MD4 + { WC_NID_md4, MD4h, oidHashType, "MD4", "md4"}, + #endif #ifndef NO_MD5 { WC_NID_md5, MD5h, oidHashType, "MD5", "md5"}, #endif diff --git a/wolfssl/wolfcrypt/asn.h b/wolfssl/wolfcrypt/asn.h index 0ce1fa8a4a..12406e4bc8 100644 --- a/wolfssl/wolfcrypt/asn.h +++ b/wolfssl/wolfcrypt/asn.h @@ -1269,6 +1269,7 @@ enum Oid_Types { enum Hash_Sum { MD2h = 646, + MD4h = 648, MD5h = 649, SHAh = 88, SHA224h = 417,