Skip to content

Commit 72e34a8

Browse files
committed
Fixed wrong define
1 parent 5b3ba8f commit 72e34a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/port/iotsafe/iotsafe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ static int iotsafe_hkdf_extract(byte* prk, const byte* salt, word32 saltLen,
766766
hash_len = WC_SHA384_DIGEST_SIZE;
767767
break;
768768
#endif
769-
#ifdef WOLFSSL_TLS13_SHA512
769+
#ifdef WOLFSSL_SHA512
770770
case WC_SHA512:
771771
hash_algo = (uint16_t)4;
772772
hash_len = WC_SHA512_DIGEST_SIZE;

0 commit comments

Comments
 (0)