From d167d37552c5f7bf1e83460ee0d55a7c5b02a824 Mon Sep 17 00:00:00 2001 From: Hakase Date: Sat, 6 Oct 2018 23:17:52 +0900 Subject: [PATCH] Oops. --- nginx_1.15.4_strict-sni.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nginx_1.15.4_strict-sni.patch b/nginx_1.15.4_strict-sni.patch index 392f5f4..f11259d 100644 --- a/nginx_1.15.4_strict-sni.patch +++ b/nginx_1.15.4_strict-sni.patch @@ -29,7 +29,7 @@ index 75129134..fd4d3bb1 100644 return NGX_ERROR; diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c -index 7dd28b8c..aacc600a 100644 +index 7dd28b8c..5e5bbed1 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -849,7 +849,7 @@ ngx_http_ssl_servername(ngx_ssl_conn_t *ssl_conn, int *ad, void *arg) @@ -50,3 +50,12 @@ index 7dd28b8c..aacc600a 100644 } host.data = (u_char *) servername; +@@ -879,7 +879,7 @@ ngx_http_ssl_servername(ngx_ssl_conn_t *ssl_conn, int *ad, void *arg) + NULL, &cscf) + != NGX_OK) + { +- return SSL_TLSEXT_ERR_NOACK; ++ return SSL_TLSEXT_ERR_ALERT_FATAL; + } + + hc->ssl_servername = ngx_palloc(c->pool, sizeof(ngx_str_t));