You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@serf.apache.org by rh...@apache.org on 2016/06/28 10:42:56 UTC

svn commit: r1750466 - /serf/trunk/buckets/ssl_buckets.c

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