serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1708844 - /serf/trunk/buckets/ssl_buckets.c
Date Thu, 15 Oct 2015 16:44:12 GMT
Author: rhuijben
Date: Thu Oct 15 16:44:12 2015
New Revision: 1708844

URL: http://svn.apache.org/viewvc?rev=1708844&view=rev
Log:
* buckets/ssl_buckets.c
  (ssl_handshake): Clear crypt status before calling into openssl.

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=1708844&r1=1708843&r2=1708844&view=diff
==============================================================================
--- serf/trunk/buckets/ssl_buckets.c (original)
+++ serf/trunk/buckets/ssl_buckets.c Thu Oct 15 16:44:12 2015
@@ -907,6 +907,7 @@ static apr_status_t ssl_handshake(serf_s
 {
     int ssl_result;
 
+    ctx->crypt_status = APR_SUCCESS; /* Clear before calling SSL */
     ssl_result = SSL_do_handshake(ctx->ssl);
     if (ssl_result <= 0) {
         apr_status_t status = status_from_ssl_error(ctx, ssl_result,



Mime
View raw message