Skip to content

Commit 2e02274

Browse files
committed
Add guard macro
1 parent 039ff1b commit 2e02274

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/api/test_mldsa.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16793,7 +16793,8 @@ int test_mldsa_pkcs12(void)
1679316793
defined(HAVE_DILITHIUM) && !defined(NO_TLS) && \
1679416794
!defined(NO_PWDBASED) && !defined(NO_HMAC) && \
1679516795
!defined(NO_CERTS) && !defined(NO_DES3) && \
16796-
(!defined(NO_WOLFSSL_CLIENT) || !defined(NO_WOLFSSL_SERVER))
16796+
(!defined(NO_WOLFSSL_CLIENT) || !defined(NO_WOLFSSL_SERVER)) && \
16797+
defined(WOLFSSL_CERT_GEN)
1679716798

1679816799
WOLFSSL_CTX* ctx = NULL;
1679916800
word32 i;
@@ -16943,7 +16944,6 @@ int test_mldsa_pkcs12(void)
1694316944
wolfSSL_CTX_free(ctx);
1694416945
XFREE(inCert, NULL, DYNAMIC_TYPE_TMP_BUFFER);
1694516946
XFREE(inKey, NULL, DYNAMIC_TYPE_TMP_BUFFER);
16946-
1694716947
#endif
1694816948
return EXPECT_RESULT();
1694916949
}

0 commit comments

Comments
 (0)