serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1831564 - /serf/trunk/test/MockHTTPinC/MockHTTP_server.c
Date Mon, 14 May 2018 12:57:05 GMT
Author: brane
Date: Mon May 14 12:57:05 2018
New Revision: 1831564

URL: http://svn.apache.org/viewvc?rev=1831564&view=rev
Log:
Attempt to make tests pass on macOS with OpenSSL 1.0.2n and later.

* test/MockHTTPinC/MockHTTP_server.c
  (sslHandshake): Insert magic incantation.

Modified:
    serf/trunk/test/MockHTTPinC/MockHTTP_server.c

Modified: serf/trunk/test/MockHTTPinC/MockHTTP_server.c
URL: http://svn.apache.org/viewvc/serf/trunk/test/MockHTTPinC/MockHTTP_server.c?rev=1831564&r1=1831563&r2=1831564&view=diff
==============================================================================
--- serf/trunk/test/MockHTTPinC/MockHTTP_server.c (original)
+++ serf/trunk/test/MockHTTPinC/MockHTTP_server.c Mon May 14 12:57:05 2018
@@ -3050,6 +3050,11 @@ static apr_status_t sslHandshake(_mhClie
                         return APR_EAGAIN;
                     }
 
+                    /* XXX This is magic that makes the tests pass on macOS
+                           with OpenSSL 1.0.2n and later. Please don't ask
+                           for explanations; see above, re: "magic". */
+                    fprintf(stderr, "\n");
+
                     _mhLog(MH_VERBOSE, cctx->skt,
                            "SSL Error %d: Library=%d, Function=%d, Reason=%d",
                            ssl_err, lib, func, reason);



Mime
View raw message