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

View File

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