Skip to content

Commit 9c38160

Browse files
committed
tests/api.c: disable test_wolfSSL_OCSP_parse_url() if WOLFSSL_SM2 || WOLFSSL_SM3.
1 parent 50a3be6 commit 9c38160

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/api.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66551,7 +66551,8 @@ static int test_wolfSSL_OCSP_parse_url(void)
6655166551

6655266552
#if defined(OPENSSL_ALL) && defined(HAVE_OCSP) && \
6655366553
defined(WOLFSSL_SIGNER_DER_CERT) && !defined(NO_FILESYSTEM) && \
66554-
!defined(NO_ASN_TIME)
66554+
!defined(NO_ASN_TIME) && \
66555+
!defined(WOLFSSL_SM2) && !defined(WOLFSSL_SM3)
6655566556
static time_t test_wolfSSL_OCSP_REQ_CTX_time_cb(time_t* t)
6655666557
{
6655766558
if (t != NULL) {
@@ -66566,7 +66567,8 @@ static int test_wolfSSL_OCSP_REQ_CTX(void)
6656666567
{
6656766568
EXPECT_DECLS;
6656866569
#if defined(OPENSSL_ALL) && defined(HAVE_OCSP) && \
66569-
defined(WOLFSSL_SIGNER_DER_CERT) && !defined(NO_FILESYSTEM)
66570+
defined(WOLFSSL_SIGNER_DER_CERT) && !defined(NO_FILESYSTEM) && \
66571+
!defined(WOLFSSL_SM2) && !defined(WOLFSSL_SM3)
6657066572
/* This buffer was taken from the ocsp-stapling.test test case 1. The ocsp
6657166573
* response was captured in wireshark. It contains both the http and binary
6657266574
* parts. The time test_wolfSSL_OCSP_REQ_CTX_time_cb is set exactly so that

0 commit comments

Comments
 (0)