]> granicus.if.org Git - curl/commitdiff
openssl: all supported versions have X509_STORE_set_flags
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Nov 2015 14:52:39 +0000 (15:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Nov 2015 14:52:39 +0000 (15:52 +0100)
Simplify by removing #ifdefs and macros

lib/vtls/openssl.c

index 06af9df0da2e1ac2d04ce182cfc97aa8fa12f2bb..6b0077ca952769a7ef3e22beee273426507722f9 100644 (file)
 #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)