Mercurial > hg > nginx-quic
comparison src/mail/ngx_mail_ssl_module.c @ 9059:d1cf09451ae8
SSL: enabled TLSv1.3 by default.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 24 Mar 2023 02:57:43 +0300 |
parents | e32b48848add |
children |
comparison
equal
deleted
inserted
replaced
9058:a5e6e8510634 | 9059:d1cf09451ae8 |
---|---|
358 | 358 |
359 ngx_conf_merge_value(conf->prefer_server_ciphers, | 359 ngx_conf_merge_value(conf->prefer_server_ciphers, |
360 prev->prefer_server_ciphers, 0); | 360 prev->prefer_server_ciphers, 0); |
361 | 361 |
362 ngx_conf_merge_bitmask_value(conf->protocols, prev->protocols, | 362 ngx_conf_merge_bitmask_value(conf->protocols, prev->protocols, |
363 (NGX_CONF_BITMASK_SET|NGX_SSL_TLSv1 | 363 (NGX_CONF_BITMASK_SET |
364 |NGX_SSL_TLSv1_1|NGX_SSL_TLSv1_2)); | 364 |NGX_SSL_TLSv1|NGX_SSL_TLSv1_1 |
365 |NGX_SSL_TLSv1_2|NGX_SSL_TLSv1_3)); | |
365 | 366 |
366 ngx_conf_merge_uint_value(conf->verify, prev->verify, 0); | 367 ngx_conf_merge_uint_value(conf->verify, prev->verify, 0); |
367 ngx_conf_merge_uint_value(conf->verify_depth, prev->verify_depth, 1); | 368 ngx_conf_merge_uint_value(conf->verify_depth, prev->verify_depth, 1); |
368 | 369 |
369 ngx_conf_merge_ptr_value(conf->certificates, prev->certificates, NULL); | 370 ngx_conf_merge_ptr_value(conf->certificates, prev->certificates, NULL); |