forked from wolfSSL/wolfssl
fix CAVP selftest v2 build, issue with pkcs7.h
This commit is contained in:
@ -154,7 +154,8 @@ enum Pkcs7_Misc {
|
|||||||
MAX_SEQ_SZ + ASN_NAME_MAX + MAX_SN_SZ +
|
MAX_SEQ_SZ + ASN_NAME_MAX + MAX_SN_SZ +
|
||||||
MAX_SEQ_SZ + MAX_ALGO_SZ + 1 + MAX_ENCRYPTED_KEY_SZ,
|
MAX_SEQ_SZ + MAX_ALGO_SZ + 1 + MAX_ENCRYPTED_KEY_SZ,
|
||||||
#if (defined(HAVE_FIPS) && defined(HAVE_FIPS_VERSION) && \
|
#if (defined(HAVE_FIPS) && defined(HAVE_FIPS_VERSION) && \
|
||||||
(HAVE_FIPS_VERSION <= 2)) || (defined(HAVE_SELFTEST))
|
(HAVE_FIPS_VERSION <= 2)) || (defined(HAVE_SELFTEST) && \
|
||||||
|
(!defined(HAVE_SELFTEST_VERSION) || (HAVE_SELFTEST_VERSION < 2)))
|
||||||
/* In the event of fips cert 3389 or CAVP selftest v1 build, these enums are
|
/* In the event of fips cert 3389 or CAVP selftest v1 build, these enums are
|
||||||
* not in aes.h for use with pkcs7 so enumerate it here outside the fips
|
* not in aes.h for use with pkcs7 so enumerate it here outside the fips
|
||||||
* boundary */
|
* boundary */
|
||||||
|
Reference in New Issue
Block a user