]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl: fix build on OpenSSL 1.0.0
authorWilly Tarreau <w@1wt.eu>
Thu, 19 Jan 2017 16:04:02 +0000 (17:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jan 2017 16:27:57 +0000 (17:27 +0100)
commit2b3205b5fa427376dd364f0ce0d6e0dff257b6f6
treed78ccecd8f4968c86b14bcbb50a81437ae374a5e
parentfdec7897fd2e8fba8f0d27e48b1e600553621c86
BUILD: ssl: fix build on OpenSSL 1.0.0

After the code was ported to support 1.1.0, this one broke on 1.0.0 :

  src/shctx.c:406: undefined reference to `SSL_SESSION_set1_id_context'

The function was indeed introduced only in 1.0.1. The build was validated
with 0.9.8, 1.0.0, 1.0.1, 1.0.2 and 1.1.0.

This fix must be backported to 1.7.
include/proto/openssl-compat.h