mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-09 00:32:33 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue