Mercurial > hg > nginx
comparison src/http/modules/ngx_http_ssl_module.c @ 6981:08dc60979133
SSL: added support for TLSv1.3 in ssl_protocols directive.
Support for the TLSv1.3 protocol will be introduced in OpenSSL 1.1.1.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 18 Apr 2017 15:12:38 +0300 |
parents | e75e854657ba |
children | 2a288909abc6 |
comparison
equal
deleted
inserted
replaced
6980:dbb0c854e308 | 6981:08dc60979133 |
---|---|
55 { ngx_string("SSLv2"), NGX_SSL_SSLv2 }, | 55 { ngx_string("SSLv2"), NGX_SSL_SSLv2 }, |
56 { ngx_string("SSLv3"), NGX_SSL_SSLv3 }, | 56 { ngx_string("SSLv3"), NGX_SSL_SSLv3 }, |
57 { ngx_string("TLSv1"), NGX_SSL_TLSv1 }, | 57 { ngx_string("TLSv1"), NGX_SSL_TLSv1 }, |
58 { ngx_string("TLSv1.1"), NGX_SSL_TLSv1_1 }, | 58 { ngx_string("TLSv1.1"), NGX_SSL_TLSv1_1 }, |
59 { ngx_string("TLSv1.2"), NGX_SSL_TLSv1_2 }, | 59 { ngx_string("TLSv1.2"), NGX_SSL_TLSv1_2 }, |
60 { ngx_string("TLSv1.3"), NGX_SSL_TLSv1_3 }, | |
60 { ngx_null_string, 0 } | 61 { ngx_null_string, 0 } |
61 }; | 62 }; |
62 | 63 |
63 | 64 |
64 static ngx_conf_enum_t ngx_http_ssl_verify[] = { | 65 static ngx_conf_enum_t ngx_http_ssl_verify[] = { |