serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1775240 - /serf/trunk/buckets/ssl_buckets.c
Date Tue, 20 Dec 2016 09:48:20 GMT
Author: stsp
Date: Tue Dec 20 09:48:20 2016
New Revision: 1775240

URL: http://svn.apache.org/viewvc?rev=1775240&view=rev
Log:
Fix another build problem with LibreSSL.

* buckets/ssl_buckets.c
  (detect_renegotiate): Check for SSL_ST_RENEGOTIATE macro directly
   instead of assuming that USE_LEGACY_OPENSSL tells the truth.

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=1775240&r1=1775239&r2=1775240&view=diff
==============================================================================
--- serf/trunk/buckets/ssl_buckets.c (original)
+++ serf/trunk/buckets/ssl_buckets.c Tue Dec 20 09:48:20 2016
@@ -300,7 +300,7 @@ detect_renegotiate(const SSL *s, int whe
 #endif
 
     /* The server asked to renegotiate the SSL session. */
-#ifndef USE_LEGACY_OPENSSL
+#ifndef SSL_ST_RENEGOTIATE
     if (SSL_get_state(s) == TLS_ST_SW_HELLO_REQ) {
 #else
     if (SSL_state(s) == SSL_ST_RENEGOTIATE) {



Mime
View raw message