forked from wolfSSL/wolfssl
fix for SetBitString() defined but not used
This commit is contained in:
@@ -648,9 +648,13 @@ static int CheckBitString(const byte* input, word32* inOutIdx, int* len,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* RSA (with CertGen or KeyGen) OR ECC OR ED25519 (with CertGen or KeyGen) */
|
||||
#if (!defined(NO_RSA) && !defined(HAVE_USER_RSA) && \
|
||||
(defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN))) || \
|
||||
defined(HAVE_ECC) || defined(HAVE_ED25519)
|
||||
(defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN))) || \
|
||||
defined(HAVE_ECC) || \
|
||||
(defined(HAVE_ED25519) && \
|
||||
(defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN)))
|
||||
|
||||
/* Set the DER/BER encoding of the ASN.1 BIT_STRING header.
|
||||
*
|
||||
* len Length of data to encode.
|
||||
|
Reference in New Issue
Block a user