From 5a1d171236745a07c455e10f7500ddb597dae81f Mon Sep 17 00:00:00 2001 From: Hideki Miyazaki Date: Wed, 14 Apr 2021 21:25:50 +0900 Subject: [PATCH] fixed unit test failure --- tests/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index 37bc6896a..13df2f064 100644 --- a/tests/api.c +++ b/tests/api.c @@ -36721,7 +36721,7 @@ static void test_wolfSSL_QT_EVP_PKEY_CTX_free(void) AssertNotNull(pkey = wolfSSL_EVP_PKEY_new()); AssertNotNull(ctx = EVP_PKEY_CTX_new(pkey, NULL)); - #if defined(WOLFSSL_QT) + #if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000L /* void */ EVP_PKEY_CTX_free(ctx); AssertTrue(1);