mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
parent
61765c095c
commit
0df4b4edfb
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue