wolfssl/wolfcrypt/asn_public.h: fix version threshold for wc_RsaPrivateKeyValidate() prototype.

pull/6303/head
Daniel Pouzzner 2023-04-15 00:29:01 -05:00
parent 98b718f91b
commit 3d16ec8dc1
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ WOLFSSL_API void wc_FreeDer(DerBuffer** pDer);
/* For FIPS v1/v2 and selftest rsa.h is replaced. */
#if defined(HAVE_SELFTEST) || (defined(HAVE_FIPS) && \
(!defined(HAVE_FIPS_VERSION) || (HAVE_FIPS_VERSION <= 5)))
(!defined(HAVE_FIPS_VERSION) || (FIPS_VERSION_LE(5,2))))
WOLFSSL_API int wc_RsaPrivateKeyValidate(const byte* input,
word32* inOutIdx, int* keySz, word32 inSz);
#endif