comparison src/stream/ngx_stream_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 1818acd8442f
children 29c6d66b83ba
comparison
equal deleted inserted replaced
6980:dbb0c854e308 6981:08dc60979133
43 { ngx_string("SSLv2"), NGX_SSL_SSLv2 }, 43 { ngx_string("SSLv2"), NGX_SSL_SSLv2 },
44 { ngx_string("SSLv3"), NGX_SSL_SSLv3 }, 44 { ngx_string("SSLv3"), NGX_SSL_SSLv3 },
45 { ngx_string("TLSv1"), NGX_SSL_TLSv1 }, 45 { ngx_string("TLSv1"), NGX_SSL_TLSv1 },
46 { ngx_string("TLSv1.1"), NGX_SSL_TLSv1_1 }, 46 { ngx_string("TLSv1.1"), NGX_SSL_TLSv1_1 },
47 { ngx_string("TLSv1.2"), NGX_SSL_TLSv1_2 }, 47 { ngx_string("TLSv1.2"), NGX_SSL_TLSv1_2 },
48 { ngx_string("TLSv1.3"), NGX_SSL_TLSv1_3 },
48 { ngx_null_string, 0 } 49 { ngx_null_string, 0 }
49 }; 50 };
50 51
51 52
52 static ngx_conf_enum_t ngx_stream_ssl_verify[] = { 53 static ngx_conf_enum_t ngx_stream_ssl_verify[] = {