From deda5125983aeced94fb40400c0e0010f132100e Mon Sep 17 00:00:00 2001 From: jordan Date: Tue, 8 Oct 2024 17:05:53 -0500 Subject: [PATCH] acert: fix unused store error. --- tests/api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api.c b/tests/api.c index 5ec4bea86d..5e618619bc 100644 --- a/tests/api.c +++ b/tests/api.c @@ -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" @@ -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);