You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@serf.apache.org by br...@apache.org on 2018/05/14 12:57:05 UTC

svn commit: r1831564 - /serf/trunk/test/MockHTTPinC/MockHTTP_server.c

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);