apache /
serf /
c825b5b81640139c70ff8e96a932d3d1a3650708 Fix test failures with OpenSSL 1.1 and later. The MockHTTPinC server must
also disable TLSv1.3 if the OpenSSL library enables it by default.
* test/MockHTTPinC/MockHTTP.h (mhSSLProtocol_t): Add mhProtoTLSv13.
* test/MockHTTPinC/MockHTTP_server.c
(initSSLCtx): Handle TLSv1.3 in the context if OpenSSL supports it.
(sslHandshake): Remove the quite useless printf() "fix".
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1844837 13f79535-47bb-0310-9956-ffa450edef68
2 files changed