Revert "Update nginx strict sni patch."

This reverts commit 997e1bb428.

Not compatible with ssl_early_data.
This commit is contained in:
2018-10-05 00:17:06 +09:00
parent 997e1bb428
commit e3932ebe24
-8
View File
@@ -1460,14 +1460,6 @@ ngx_ssl_handshake(ngx_connection_t *c)
c->read->error = 1;
// nginx strict sni patch.
// https://github.com/hakasenyang/openssl-patch/issues/1#issuecomment-427040319
if (sslerr == SSL_ERROR_SSL) {
ERR_peek_error();
ERR_clear_error();
return NGX_ERROR;
}
ngx_ssl_connection_error(c, sslerr, err, "SSL_do_handshake() failed");
return NGX_ERROR;