serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1750466 - /serf/trunk/buckets/ssl_buckets.c
Date Tue, 28 Jun 2016 10:42:56 GMT
Author: rhuijben
Date: Tue Jun 28 10:42:56 2016
New Revision: 1750466

URL: http://svn.apache.org/viewvc?rev=1750466&view=rev
Log:
Handle not being defined of OPENSSL_VERSION_NUMBER as a legacy OpenSSL
instead of as a future version.

* buckets/ssl_buckets.c
  Tweak #if.

Modified:
    serf/trunk/buckets/ssl_buckets.c

Modified: serf/trunk/buckets/ssl_buckets.c
URL: http://svn.apache.org/viewvc/serf/trunk/buckets/ssl_buckets.c?rev=1750466&r1=1750465&r2=1750466&view=diff
==============================================================================
--- serf/trunk/buckets/ssl_buckets.c (original)
+++ serf/trunk/buckets/ssl_buckets.c Tue Jun 28 10:42:56 2016
@@ -49,7 +49,7 @@
 #define APR_ARRAY_PUSH(ary,type) (*((type *)apr_array_push(ary)))
 #endif
 
-#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100000L
+#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x10100000L
 #define USE_LEGACY_OPENSSL
 #define X509_STORE_get0_param(store) store->param
 #endif



Mime
View raw message