forked from wolfSSL/wolfssl
Attempt to fix issue with duplicate prototype wc_RsaKeyToPublicDer
with FIPS v2 selftest.
This commit is contained in:
@@ -607,7 +607,10 @@ WOLFSSL_API void wc_FreeDer(DerBuffer** pDer);
|
||||
WOLFSSL_API int wc_RsaPublicKeyDecode_ex(const byte* input, word32* inOutIdx,
|
||||
word32 inSz, const byte** n, word32* nSz, const byte** e, word32* eSz);
|
||||
/* For FIPS v1/v2 and selftest this is in rsa.h */
|
||||
#if !defined(HAVE_SELFTEST) && (!defined(HAVE_FIPS) || \
|
||||
#if (!defined(HAVE_SELFTEST) || \
|
||||
(defined(HAVE_SELFTEST) && defined(WOLFSSL_CERT_GEN) && \
|
||||
!defined(WOLFSSL_KEY_GEN))) && \
|
||||
(!defined(HAVE_FIPS) || \
|
||||
!defined(HAVE_FIPS_VERSION) || \
|
||||
((HAVE_FIPS_VERSION > 2) && \
|
||||
(! ((HAVE_FIPS_VERSION == 5) && (HAVE_FIPS_VERSION_MINOR == 0)))))
|
||||
|
Reference in New Issue
Block a user