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.
This commit is contained in:
parent
b729077710
commit
a8825520b7
@ -2127,7 +2127,7 @@ static int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *arg)
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user