Skip to content

Commit 72a1cf6

Browse files
committed
CDRIVER-3668 fix ifdef around test
1 parent 1184f02 commit 72a1cf6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libmongoc/tests/test-mongoc-x509.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ test_extract_subject (void)
2727
}
2828
#endif
2929

30-
#ifdef MONGOC_ENABLE_SSL_OPENSSL
30+
#ifdef MONGOC_ENABLE_OCSP_OPENSSL
3131
/* Test parsing a DER encoded tlsfeature extension contents for the
3232
* status_request (value 5). This is a SEQUENCE of INTEGER. libmongoc assumes
3333
* this is a sequence of one byte integers. */
@@ -84,7 +84,7 @@ test_tlsfeature_parsing (void)
8484
/* An integer with length > 1. Parsing fails. */
8585
_expect_malformed ("\x30\x03\x02\x02\x05\x05", 6);
8686
}
87-
#endif
87+
#endif /* MONGOC_ENABLE_OCSP_OPENSSL */
8888

8989
void
9090
test_x509_install (TestSuite *suite)
@@ -93,7 +93,7 @@ test_x509_install (TestSuite *suite)
9393
TestSuite_Add (suite, "/X509/extract_subject", test_extract_subject);
9494
#endif
9595

96-
#ifdef MONGOC_ENABLE_SSL_OPENSSL
96+
#ifdef MONGOC_ENABLE_OCSP_OPENSSL
9797
TestSuite_Add (suite, "/X509/tlsfeature_parsing", test_tlsfeature_parsing);
9898
#endif
9999
}

0 commit comments

Comments
 (0)