BUILD: ssl: fix another null-deref warning in ssl_sock_switchctx_cbk()
This null-deref cannot happen either as there necesarily is a listener
where this function is called. Let's use __objt_listener() to address
this.
This may be backported to 1.8.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c
index baedc33..4183376 100644
--- a/src/ssl_sock.c
+++ b/src/ssl_sock.c
@@ -2127,7 +2127,7 @@
int i;
conn = SSL_get_ex_data(ssl, ssl_app_data_index);
- s = objt_listener(conn->target)->bind_conf;
+ s = __objt_listener(conn->target)->bind_conf;
if (s->ssl_conf.early_data)
allow_early = 1;