mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
BUILD/MINOR: ssl: fix build failure introduced by recent patch
Baptiste reported that commit 0a9a2b8 ("MEDIUM: sample change the prototype of sample-fetches and converters functions") broke the build of ssl_sock.c when using openssl-1.0.2 because one missed replacement of sess with smp->sess. No backport is needed.
This commit is contained in:
parent
0786d05a04
commit
e26bf05115
@ -3740,7 +3740,7 @@ smp_fetch_ssl_fc_alpn(const struct arg *args, struct sample *smp, const char *kw
|
||||
smp->flags = SMP_F_CONST;
|
||||
smp->type = SMP_T_STR;
|
||||
|
||||
conn = objt_conn(sess->origin);
|
||||
conn = objt_conn(smp->sess->origin);
|
||||
if (!conn || !conn->xprt_ctx || conn->xprt != &ssl_sock)
|
||||
return 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user