commit 001096460d0cfbafb6e1c9f1833387eb8756959a
parent 0356286486310d83087373abb43e6cb0780a8721
Author: Joris Vink <joris@sanctorum.se>
Date: Mon, 13 May 2024 10:34:45 +0200
Fix the tls-proxy example
Diffstat:
examples/tls-proxy/src/proxy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/tls-proxy/src/proxy.c b/examples/tls-proxy/src/proxy.c
@@ -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;