Merge pull request #2812 from kaleb-himes/FAILING_FIPS_IN_MASTER

Fix failing FIPS tests in master stemming from PR #2733
This commit is contained in:
David Garske
2020-02-20 14:29:16 -08:00
committed by GitHub

View File

@ -124,7 +124,9 @@ extern int wc_InitRsaHw(RsaKey* key);
#define ERROR_OUT(err, eLabel) { ret = (err); goto eLabel; }
#if defined(HAVE_SELFTEST) || !defined(NO_SKID)
#if defined(HAVE_SELFTEST) || ( !defined(NO_SKID) && \
( !defined(HAVE_FIPS) || \
!defined(HAVE_FIPS_VERSION) ))
#ifndef WOLFSSL_AES_KEY_SIZE_ENUM
#define WOLFSSL_AES_KEY_SIZE_ENUM
enum Asn_Misc {