Skip to content

Commit deda512

Browse files
committed
acert: fix unused store error.
1 parent 410e2f1 commit deda512

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14071,8 +14071,7 @@ static int test_wolfSSL_X509_ACERT_buffer(void)
1407114071
static int test_wolfSSL_X509_ACERT_asn(void)
1407214072
{
1407314073
EXPECT_DECLS;
14074-
#if defined(WOLFSSL_ACERT) && !defined(NO_CERTS) && \
14075-
!defined(NO_RSA) && defined(WC_RSA_PSS)
14074+
#if defined(WOLFSSL_ACERT) && !defined(NO_CERTS)
1407614075
const byte acert_ietf[] = \
1407714076
"-----BEGIN ATTRIBUTE CERTIFICATE-----\n"
1407814077
"MIICPTCCASUCAQEwN6AWMBGkDzANMQswCQYDVQQDDAJDQQIBAqEdpBswGTEXMBUG\n"
@@ -14124,6 +14123,7 @@ static int test_wolfSSL_X509_ACERT_asn(void)
1412414123
if (der != NULL && der->buffer != NULL) {
1412514124
wc_InitDecodedAcert(acert, der->buffer, der->length, HEAP_HINT);
1412614125
rc = wc_ParseX509Acert(acert, VERIFY_SKIP_DATE);
14126+
ExpectIntEQ(rc, 0);
1412714127
}
1412814128

1412914129
ExpectIntEQ(acert->serialSz, 20);

0 commit comments

Comments
 (0)