From fcdc37563fc7ea072d9984cd0cc168c5eda2502b Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 30 Oct 2026 16:44:32 -0500 Subject: [PATCH] tests: gate test_wolfSSL_X509_check_email_san on no time. --- tests/api/test_ossl_x509.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/api/test_ossl_x509.c b/tests/api/test_ossl_x509.c index 2f85759a046..2dd57f13db2 100644 --- a/tests/api/test_ossl_x509.c +++ b/tests/api/test_ossl_x509.c @@ -539,6 +539,7 @@ int test_wolfSSL_X509_check_email(void) #if defined(OPENSSL_EXTRA) && defined(WOLFSSL_CERT_GEN) && \ defined(WOLFSSL_ALT_NAMES) && defined(HAVE_ECC) && \ + !defined(NO_ASN_TIME) && !defined(USER_TIME) && \ defined(HAVE_ECC_SIGN) && !defined(WC_NO_RNG) && !defined(NO_SHA256) /* Make a self-signed certificate whose subject emailAddress is subjEmail * (omitted when NULL) and whose SubjectAltName holds the GeneralNames in @@ -597,6 +598,7 @@ int test_wolfSSL_X509_check_email_san(void) EXPECT_DECLS; #if defined(OPENSSL_EXTRA) && defined(WOLFSSL_CERT_GEN) && \ defined(WOLFSSL_ALT_NAMES) && defined(HAVE_ECC) && \ + !defined(NO_ASN_TIME) && !defined(USER_TIME) && \ defined(HAVE_ECC_SIGN) && !defined(WC_NO_RNG) && !defined(NO_SHA256) static const char target[] = "a@target.example"; static const char nulTarget[] = "a@target.example\0junk";