From be437c0bd276da04a84bd8154df606d2c7e8ec61 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Wed, 8 Apr 2020 17:09:16 -0500 Subject: [PATCH] Fix EVP API to use NID instead of WC_ types --- wolfssl/openssl/evp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolfssl/openssl/evp.h b/wolfssl/openssl/evp.h index 8aca5382a..fa2c0ce89 100644 --- a/wolfssl/openssl/evp.h +++ b/wolfssl/openssl/evp.h @@ -185,7 +185,7 @@ struct WOLFSSL_EVP_MD_CTX { Hmac hmac; #endif } hash; - unsigned char macType; + int macType; WOLFSSL_EVP_PKEY_CTX *pctx; }; @@ -239,6 +239,7 @@ enum { NID_sha1 = 64, NID_sha224 = 65, NID_md2 = 77, + NID_md4 = 257, NID_md5 = 4, NID_hmac = 855, NID_dhKeyAgreement= 28,