From: Daniel Stenberg Date: Fri, 13 Nov 2015 14:52:39 +0000 (+0100) Subject: openssl: all supported versions have X509_STORE_set_flags X-Git-Tag: curl-7_46_0~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b430d94fb232951dceda2cd492df6a8db75bc266;p=curl openssl: all supported versions have X509_STORE_set_flags Simplify by removing #ifdefs and macros --- diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 06af9df0d..6b0077ca9 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -106,13 +106,6 @@ #define SSL_METHOD_QUAL #endif -#if OPENSSL_VERSION_NUMBER >= 0x00907000L -/* 0.9.6 didn't have X509_STORE_set_flags() */ -#define HAVE_X509_STORE_SET_FLAGS 1 -#else -#define X509_STORE_set_flags(x,y) Curl_nop_stmt -#endif - #ifdef OPENSSL_IS_BORINGSSL /* BoringSSL has no ERR_remove_state() */ #define ERR_remove_state(x)