Fixed wrong define

pull/7176/head
Daniele Lacamera 2024-01-26 16:35:08 +01:00
parent 5b3ba8f4bb
commit 72e34a829a
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ static int iotsafe_hkdf_extract(byte* prk, const byte* salt, word32 saltLen,
hash_len = WC_SHA384_DIGEST_SIZE;
break;
#endif
#ifdef WOLFSSL_TLS13_SHA512
#ifdef WOLFSSL_SHA512
case WC_SHA512:
hash_algo = (uint16_t)4;
hash_len = WC_SHA512_DIGEST_SIZE;