Skip to content

Commit 01442a1

Browse files
adjust macro guard around test case
1 parent e1bbb71 commit 01442a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/api/test_ossl_x509_str.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ int test_wolfSSL_X509_STORE_CTX_set_time(void)
5757
int test_wolfSSL_X509_STORE_check_time(void)
5858
{
5959
EXPECT_DECLS;
60-
#if defined(OPENSSL_EXTRA) && !defined(NO_FILESYSTEM) && !defined(NO_ASN_TIME)
60+
#if defined(OPENSSL_EXTRA) && !defined(NO_FILESYSTEM) && \
61+
!defined(NO_ASN_TIME) && !defined(NO_RSA)
6162
WOLFSSL_X509_STORE* store = NULL;
6263
WOLFSSL_X509_STORE_CTX* ctx = NULL;
6364
WOLFSSL_X509* ca = NULL;
@@ -160,8 +161,7 @@ int test_wolfSSL_X509_STORE_check_time(void)
160161
store = NULL;
161162
wolfSSL_X509_free(cert);
162163
cert = NULL;
163-
#endif /* defined(OPENSSL_EXTRA) && !defined(NO_FILESYSTEM) && \
164-
!defined(NO_ASN_TIME) */
164+
#endif /* OPENSSL_EXTRA && !NO_FILESYSTEM && !NO_ASN_TIME && !NO_RSA */
165165
return EXPECT_RESULT();
166166
}
167167

0 commit comments

Comments
 (0)