Attempt to make tests pass on macOS with OpenSSL 1.0.2n and later.
* test/MockHTTPinC/MockHTTP_server.c
(sslHandshake): Insert magic incantation.
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1831564 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/MockHTTPinC/MockHTTP_server.c b/test/MockHTTPinC/MockHTTP_server.c
index 61fff2d..2220720 100644
--- a/test/MockHTTPinC/MockHTTP_server.c
+++ b/test/MockHTTPinC/MockHTTP_server.c
@@ -3050,6 +3050,11 @@
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);