mirror of https://github.com/Icinga/icinga2.git
parent
61765c095c
commit
0df4b4edfb
|
@ -197,7 +197,8 @@ void SetTlsProtocolminToSSLContext(const boost::shared_ptr<SSL_CTX>& context, co
|
|||
if (tlsProtocolmin == SSL_TXT_TLSV1_1)
|
||||
flags |= SSL_OP_NO_TLSv1;
|
||||
else
|
||||
#elif defined(SSL_TXT_TLSV1_2)
|
||||
#endif /* SSL_TXT_TLSV1_1 */
|
||||
#ifdef SSL_TXT_TLSV1_2
|
||||
if (tlsProtocolmin == SSL_TXT_TLSV1_2)
|
||||
flags |= SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue