mirror of
https://github.com/nginx/nginx.git
synced 2026-10-25 15:10:05 -05:00
SNI: support for early ClientHello callback with BoringSSL.
This brings feature parity with OpenSSL after the previous change, making it possible to set SSL protocols per virtual server.
This commit is contained in:
1 parent
0373fe5d98
commit
7f9ced0ce0
4 files changed
+49
No files matched your search
@@ -559,6 +559,11 @@ ngx_stream_ssl_servername(ngx_ssl_conn_t *ssl_conn, int *ad, void *arg)
|
||||
return SSL_TLSEXT_ERR_OK;
|
||||
}
|
||||
|
||||
if (c->ssl->handshake_rejected) {
|
||||
*ad = SSL_AD_UNRECOGNIZED_NAME;
|
||||
return SSL_TLSEXT_ERR_ALERT_FATAL;
|
||||
}
|
||||
|
||||
s = c->data;
|
||||
|
||||
if (arg) {
|
||||
|
||||
Reference in new issue
Block a user