openssl-1.1.1
Hakase 2018-10-06 23:17:52 +09:00
parent 9252de9b8c
commit d167d37552
No known key found for this signature in database
GPG Key ID: BB2821A9E0DF48C9
1 changed files with 10 additions and 1 deletions

View File

@ -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));