From ee42ef651fa14ab0b7bbcebbeb11bba409804490 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 19 Jul 2024 15:23:18 -0700 Subject: [PATCH] Release v1.4.18: Release Fixes 1. Need to use the old RSA key read function if using FIPS wolfCrypt. 2. Update release date. --- ChangeLog.md | 2 +- src/internal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index bb706f8cc..32500bc67 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,4 +1,4 @@ -# wolfSSH v1.4.18 (July 20, 2024) +# wolfSSH v1.4.18 (July 22, 2024) ## New Features diff --git a/src/internal.c b/src/internal.c index 14b2d1b06..cf1f2f6e0 100644 --- a/src/internal.c +++ b/src/internal.c @@ -1344,7 +1344,7 @@ int IdentifyAsn1Key(const byte* in, word32 inSz, int isPrivate, void* heap) #ifndef WOLFSSH_NO_RSA -#if LIBWOLFSSL_VERSION_HEX > WOLFSSL_V5_7_0 +#if (LIBWOLFSSL_VERSION_HEX > WOLFSSL_V5_7_0) && !defined(HAVE_FIPS) /* * The function wc_RsaPrivateKeyDecodeRaw() is available * from wolfSSL after v5.7.0.