]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: fix warnings about methods for opensslv1.1.
authorEmeric Brun <ebrun@haproxy.com>
Fri, 28 Apr 2017 14:19:51 +0000 (16:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Apr 2017 16:57:15 +0000 (18:57 +0200)
commitfa5c5c892d32fd5a52214f4c96cea54ed78d9f0d
treeffabffbc6b56d9d8028bd24cd14225185fe7e5a4
parenta5ec06de2c2bb71bbd16050512e08b5b05749163
BUG/MINOR: ssl: fix warnings about methods for opensslv1.1.

This patch replaces the calls to TLSvX_X_client/server/_method
by the new TLS_client/server_method and it uses the new functions
SSL_set_min_proto_version and SSL_set_max_proto_version, setting them
at the wanted protocol version using 'force-' statements.
src/ssl_sock.c