Latest update - 7373

This commit is contained in:
2018-10-24 08:32:43 +09:00
parent fc69bd8b3d
commit ef4b50eeec
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -499,7 +499,7 @@ extern ngx_module_t ngx_event_core_module;
#define ngx_event_get_conf(conf_ctx, module) \
(*(ngx_get_conf(conf_ctx, ngx_events_module))) [module.ctx_index];
(*(ngx_get_conf(conf_ctx, ngx_events_module))) [module.ctx_index]
+5
View File
@@ -345,6 +345,11 @@ ngx_ssl_create(ngx_ssl_t *ssl, ngx_uint_t protocols, void *data)
}
#endif
#ifdef SSL_CTX_set_min_proto_version
SSL_CTX_set_min_proto_version(ssl->ctx, 0);
SSL_CTX_set_max_proto_version(ssl->ctx, TLS1_2_VERSION);
#endif
#ifdef TLS1_3_VERSION
SSL_CTX_set_min_proto_version(ssl->ctx, 0);
SSL_CTX_set_max_proto_version(ssl->ctx, TLS1_3_VERSION);