comparison src/http/ngx_http_request.c @ 8568:0875101c08f7 quic

Merged with the default branch.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 01 Oct 2020 12:21:11 +0100
parents bed310672f39 eb940fe579cf
children 71b7453fb11f
comparison
equal deleted inserted replaced
8567:4983357258d7 8568:0875101c08f7
986 sscf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_ssl_module); 986 sscf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_ssl_module);
987 987
988 c->ssl->buffer_size = sscf->buffer_size; 988 c->ssl->buffer_size = sscf->buffer_size;
989 989
990 if (sscf->ssl.ctx) { 990 if (sscf->ssl.ctx) {
991 SSL_set_SSL_CTX(ssl_conn, sscf->ssl.ctx); 991 if (SSL_set_SSL_CTX(ssl_conn, sscf->ssl.ctx) == NULL) {
992 *ad = SSL_AD_INTERNAL_ERROR;
993 return SSL_TLSEXT_ERR_ALERT_FATAL;
994 }
992 995
993 /* 996 /*
994 * SSL_set_SSL_CTX() only changes certs as of 1.0.0d 997 * SSL_set_SSL_CTX() only changes certs as of 1.0.0d
995 * adjust other things we care about 998 * adjust other things we care about
996 */ 999 */