MINOR: ssl: don't show prefer-server-ciphers output

The output of whether prefer-server-ciphers is supported by OpenSSL
actually always show yes in 1.8, because SSL_OP_CIPHER_SERVER_PREFERENCE
is redefined before the actual check in src/ssl_sock.c, since it was
moved from here from src/haproxy.c.

Since this is not really relevant anymore as we don't support OpenSSL
< 0.9.7 anyway, this change just removes this output.
This commit is contained in:
Lukas Tribus 2017-01-11 22:47:18 +00:00 committed by Willy Tarreau
parent 77ee7526de
commit 3eb5b3fdd3

View file

@ -6794,13 +6794,6 @@ static void __ssl_sock_init(void)
#endif
"", ptr);
memprintf(&ptr, "%s\nOpenSSL library supports prefer-server-ciphers : "
#ifdef SSL_OP_CIPHER_SERVER_PREFERENCE
"yes"
#else
"no (0.9.7 or later needed)"
#endif
"", ptr);
hap_register_build_opts(ptr, 1);
global.ssl_session_max_cost = SSL_SESSION_MAX_COST;