mirror of
https://github.com/jorisvink/kore
synced 2025-03-08 19:19:02 -05: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;
|
||||
|
||||
/* Paranoia. */
|
||||
name = SSL_get_servername(c->ssl, TLSEXT_NAMETYPE_host_name);
|
||||
name = SSL_get_servername(c->tls, TLSEXT_NAMETYPE_host_name);
|
||||
if (name == NULL) {
|
||||
kore_connection_disconnect(c);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user