mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
tests/api.c: disable test_wolfSSL_OCSP_parse_url() if WOLFSSL_SM2 || WOLFSSL_SM3.
This commit is contained in:
@@ -66551,7 +66551,8 @@ static int test_wolfSSL_OCSP_parse_url(void)
|
|||||||
|
|
||||||
#if defined(OPENSSL_ALL) && defined(HAVE_OCSP) && \
|
#if defined(OPENSSL_ALL) && defined(HAVE_OCSP) && \
|
||||||
defined(WOLFSSL_SIGNER_DER_CERT) && !defined(NO_FILESYSTEM) && \
|
defined(WOLFSSL_SIGNER_DER_CERT) && !defined(NO_FILESYSTEM) && \
|
||||||
!defined(NO_ASN_TIME)
|
!defined(NO_ASN_TIME) && \
|
||||||
|
!defined(WOLFSSL_SM2) && !defined(WOLFSSL_SM3)
|
||||||
static time_t test_wolfSSL_OCSP_REQ_CTX_time_cb(time_t* t)
|
static time_t test_wolfSSL_OCSP_REQ_CTX_time_cb(time_t* t)
|
||||||
{
|
{
|
||||||
if (t != NULL) {
|
if (t != NULL) {
|
||||||
@@ -66566,7 +66567,8 @@ static int test_wolfSSL_OCSP_REQ_CTX(void)
|
|||||||
{
|
{
|
||||||
EXPECT_DECLS;
|
EXPECT_DECLS;
|
||||||
#if defined(OPENSSL_ALL) && defined(HAVE_OCSP) && \
|
#if defined(OPENSSL_ALL) && defined(HAVE_OCSP) && \
|
||||||
defined(WOLFSSL_SIGNER_DER_CERT) && !defined(NO_FILESYSTEM)
|
defined(WOLFSSL_SIGNER_DER_CERT) && !defined(NO_FILESYSTEM) && \
|
||||||
|
!defined(WOLFSSL_SM2) && !defined(WOLFSSL_SM3)
|
||||||
/* This buffer was taken from the ocsp-stapling.test test case 1. The ocsp
|
/* This buffer was taken from the ocsp-stapling.test test case 1. The ocsp
|
||||||
* response was captured in wireshark. It contains both the http and binary
|
* response was captured in wireshark. It contains both the http and binary
|
||||||
* parts. The time test_wolfSSL_OCSP_REQ_CTX_time_cb is set exactly so that
|
* parts. The time test_wolfSSL_OCSP_REQ_CTX_time_cb is set exactly so that
|
||||||
|
Reference in New Issue
Block a user