Skip to content

Commit

Permalink
acert: fix unused store error.
Browse files Browse the repository at this point in the history
  • Loading branch information
philljj committed Oct 8, 2024
1 parent 410e2f1 commit deda512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -14071,8 +14071,7 @@ static int test_wolfSSL_X509_ACERT_buffer(void)
static int test_wolfSSL_X509_ACERT_asn(void)
{
EXPECT_DECLS;
#if defined(WOLFSSL_ACERT) && !defined(NO_CERTS) && \
!defined(NO_RSA) && defined(WC_RSA_PSS)
#if defined(WOLFSSL_ACERT) && !defined(NO_CERTS)
const byte acert_ietf[] = \
"-----BEGIN ATTRIBUTE CERTIFICATE-----\n"
"MIICPTCCASUCAQEwN6AWMBGkDzANMQswCQYDVQQDDAJDQQIBAqEdpBswGTEXMBUG\n"
Expand Down Expand Up @@ -14124,6 +14123,7 @@ static int test_wolfSSL_X509_ACERT_asn(void)
if (der != NULL && der->buffer != NULL) {
wc_InitDecodedAcert(acert, der->buffer, der->length, HEAP_HINT);
rc = wc_ParseX509Acert(acert, VERIFY_SKIP_DATE);
ExpectIntEQ(rc, 0);
}

ExpectIntEQ(acert->serialSz, 20);
Expand Down

0 comments on commit deda512

Please sign in to comment.