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.
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;