Mercurial > hg > nginx
comparison src/mail/ngx_mail_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 | 9cf2dce316e5 |
children | 0d8c72ff62dd |
comparison
equal
deleted
inserted
replaced
6980:dbb0c854e308 | 6981:08dc60979133 |
---|---|
40 { ngx_string("SSLv2"), NGX_SSL_SSLv2 }, | 40 { ngx_string("SSLv2"), NGX_SSL_SSLv2 }, |
41 { ngx_string("SSLv3"), NGX_SSL_SSLv3 }, | 41 { ngx_string("SSLv3"), NGX_SSL_SSLv3 }, |
42 { ngx_string("TLSv1"), NGX_SSL_TLSv1 }, | 42 { ngx_string("TLSv1"), NGX_SSL_TLSv1 }, |
43 { ngx_string("TLSv1.1"), NGX_SSL_TLSv1_1 }, | 43 { ngx_string("TLSv1.1"), NGX_SSL_TLSv1_1 }, |
44 { ngx_string("TLSv1.2"), NGX_SSL_TLSv1_2 }, | 44 { ngx_string("TLSv1.2"), NGX_SSL_TLSv1_2 }, |
45 { ngx_string("TLSv1.3"), NGX_SSL_TLSv1_3 }, | |
45 { ngx_null_string, 0 } | 46 { ngx_null_string, 0 } |
46 }; | 47 }; |
47 | 48 |
48 | 49 |
49 static ngx_conf_enum_t ngx_mail_ssl_verify[] = { | 50 static ngx_conf_enum_t ngx_mail_ssl_verify[] = { |