Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions wolfcrypt/src/asn.c
Original file line number Diff line number Diff line change
Expand Up @@ -3817,7 +3817,7 @@ int CheckBitString(const byte* input, word32* inOutIdx, int* len,
}

/* RSA (with CertGen or KeyGen) OR ECC OR ED25519 OR ED448 (with CertGen or
* KeyGen) */
* KeyGen) OR CRL */
#if (!defined(NO_RSA) && \
(defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN) || \
defined(OPENSSL_EXTRA))) || \
Expand All @@ -3827,7 +3827,8 @@ int CheckBitString(const byte* input, word32* inOutIdx, int* len,
defined(OPENSSL_EXTRA))) || \
(defined(WC_ENABLE_ASYM_KEY_EXPORT) && !defined(NO_CERTS)) || \
(!defined(NO_DSA) && !defined(HAVE_SELFTEST) && defined(WOLFSSL_KEY_GEN)) || \
(!defined(NO_DH) && defined(WOLFSSL_DH_EXTRA))
(!defined(NO_DH) && defined(WOLFSSL_DH_EXTRA)) || \
defined(HAVE_CRL)

/* Set the DER/BER encoding of the ASN.1 BIT STRING header.
*
Expand Down Expand Up @@ -3865,7 +3866,7 @@ word32 SetBitString(word32 len, byte unusedBits, byte* output)
/* Return index after header. */
return idx;
}
#endif /* !NO_RSA || HAVE_ECC || HAVE_ED25519 || HAVE_ED448 */
#endif /* !NO_RSA || HAVE_ECC || HAVE_ED25519 || HAVE_ED448 || HAVE_CRL */

#ifdef ASN_BER_TO_DER

Expand Down
Loading