From 6fbfb5c30ff9cc354e91557b20ef642dcd791f39 Mon Sep 17 00:00:00 2001 From: David Garske Date: Mon, 3 Jun 2024 12:05:16 -0700 Subject: [PATCH] Merge pull request #705 from ejohnstown/rsa-raw Using Decode Raw RSA Private Key --- src/internal.c | 1 + wolfssh/internal.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/internal.c b/src/internal.c index 9bdd5783..682d1e61 100644 --- a/src/internal.c +++ b/src/internal.c @@ -1364,6 +1364,7 @@ int IdentifyAsn1Key(const byte* in, word32 inSz, int isPrivate, void* heap) #ifndef WOLFSSH_NO_RSA #if (LIBWOLFSSL_VERSION_HEX > WOLFSSL_V5_7_0) && !defined(HAVE_FIPS) +#if LIBWOLFSSL_VERSION_HEX > WOLFSSL_V5_7_0 /* * The function wc_RsaPrivateKeyDecodeRaw() is available * from wolfSSL after v5.7.0. diff --git a/wolfssh/internal.h b/wolfssh/internal.h index 6791526c..9761f900 100644 --- a/wolfssh/internal.h +++ b/wolfssh/internal.h @@ -1361,6 +1361,7 @@ enum TerminalModes { #define WOLFSSL_V5_0_0 0x05000000 #define WOLFSSL_V5_7_0 0x05007000 #define WOLFSSL_V5_7_2 0x05007002 +#define WOLFSSL_V5_7_0 0x05007000 #ifdef __cplusplus