mirror of https://git.kore.io/kore.git
Revert "Throw a handshake failure if we cannot find the given SNI hostname."
This reverts commit afd4182975
.
This commit is contained in:
parent
afd4182975
commit
89f81a8b5a
|
@ -202,7 +202,7 @@ main(int argc, char *argv[])
|
|||
|
||||
#if !defined(KORE_NO_TLS)
|
||||
int
|
||||
kore_tls_sni_cb(SSL *ssl, int *al, void *arg)
|
||||
kore_tls_sni_cb(SSL *ssl, int *ad, void *arg)
|
||||
{
|
||||
struct kore_domain *dom;
|
||||
const char *sname;
|
||||
|
@ -224,8 +224,7 @@ kore_tls_sni_cb(SSL *ssl, int *al, void *arg)
|
|||
return (SSL_TLSEXT_ERR_OK);
|
||||
}
|
||||
|
||||
*al = SSL_AD_HANDSHAKE_FAILURE;
|
||||
return (SSL_TLSEXT_ERR_ALERT_FATAL);
|
||||
return (SSL_TLSEXT_ERR_NOACK);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue