mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
Fix the tls-proxy example
This commit is contained in:
parent
0356286486
commit
001096460d
@ -64,7 +64,7 @@ client_setup(struct connection *c)
|
|||||||
struct connection *backend;
|
struct connection *backend;
|
||||||
|
|
||||||
/* Paranoia. */
|
/* Paranoia. */
|
||||||
name = SSL_get_servername(c->ssl, TLSEXT_NAMETYPE_host_name);
|
name = SSL_get_servername(c->tls, TLSEXT_NAMETYPE_host_name);
|
||||||
if (name == NULL) {
|
if (name == NULL) {
|
||||||
kore_connection_disconnect(c);
|
kore_connection_disconnect(c);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user