From 72e34a829afeb6f1e0df49877b28e2abe6ee3759 Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Fri, 26 Jan 2024 16:35:08 +0100 Subject: [PATCH] Fixed wrong define --- wolfcrypt/src/port/iotsafe/iotsafe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/port/iotsafe/iotsafe.c b/wolfcrypt/src/port/iotsafe/iotsafe.c index e592fbcb0..8a7ec2e63 100644 --- a/wolfcrypt/src/port/iotsafe/iotsafe.c +++ b/wolfcrypt/src/port/iotsafe/iotsafe.c @@ -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;