mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 00:30:20 +00:00
Merge "tcptls: Repair ./configure --with-ssl=PATH."
This commit is contained in:
@@ -385,7 +385,7 @@ static int __ssl_setup(struct ast_tls_config *cfg, int client)
|
||||
if (ast_test_flag(&cfg->flags, AST_SSL_DISABLE_TLSV1)) {
|
||||
ssl_opts |= SSL_OP_NO_TLSv1;
|
||||
}
|
||||
#if defined(HAVE_SSL_OP_NO_TLSV1_1) && defined(HAVE_SSL_OP_NO_TLSV1_2)
|
||||
#if defined(SSL_OP_NO_TLSv1_1) && defined(SSL_OP_NO_TLSv1_2)
|
||||
if (ast_test_flag(&cfg->flags, AST_SSL_DISABLE_TLSV11)) {
|
||||
ssl_opts |= SSL_OP_NO_TLSv1_1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user