Latest update - 7373
This commit is contained in:
@@ -499,7 +499,7 @@ extern ngx_module_t ngx_event_core_module;
|
|||||||
|
|
||||||
|
|
||||||
#define ngx_event_get_conf(conf_ctx, 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]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -345,6 +345,11 @@ ngx_ssl_create(ngx_ssl_t *ssl, ngx_uint_t protocols, void *data)
|
|||||||
}
|
}
|
||||||
#endif
|
#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
|
#ifdef TLS1_3_VERSION
|
||||||
SSL_CTX_set_min_proto_version(ssl->ctx, 0);
|
SSL_CTX_set_min_proto_version(ssl->ctx, 0);
|
||||||
SSL_CTX_set_max_proto_version(ssl->ctx, TLS1_3_VERSION);
|
SSL_CTX_set_max_proto_version(ssl->ctx, TLS1_3_VERSION);
|
||||||
|
|||||||
Reference in New Issue
Block a user