fix references to misnamed HAVE_SHA224, HAVE_SHA384, HAVE_SHA512 (correct names have WOLFSSL_ prefixes).

This commit is contained in:
Daniel Pouzzner
2024-10-22 12:03:16 -05:00
parent 43fe46cf24
commit 6429315216
2 changed files with 4 additions and 4 deletions

View File

@@ -15108,7 +15108,7 @@ static WC_INLINE const char* wolfssl_mac_to_string(int mac)
macStr = "SHA1";
break;
#endif
#ifdef HAVE_SHA224
#ifdef WOLFSSL_SHA224
case sha224_mac:
macStr = "SHA224";
break;
@@ -15118,12 +15118,12 @@ static WC_INLINE const char* wolfssl_mac_to_string(int mac)
macStr = "SHA256";
break;
#endif
#ifdef HAVE_SHA384
#ifdef WOLFSSL_SHA384
case sha384_mac:
macStr = "SHA384";
break;
#endif
#ifdef HAVE_SHA512
#ifdef WOLFSSL_SHA512
case sha512_mac:
macStr = "SHA512";
break;

View File

@@ -1481,7 +1481,7 @@ extern void uITRON4_free(void *p) ;
#ifndef NO_WRITEV
#define NO_WRITEV
#endif
#ifndef HAVE_SHA512
#ifndef WOLFSSL_SHA512
#ifndef NO_SHA512
#define NO_SHA512
#endif