]> git.ipfire.org Git - thirdparty/curl.git/commit
openssl: fix build with LibreSSL < 2.9.1
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 1 Aug 2020 09:51:59 +0000 (11:51 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 1 Aug 2020 15:47:32 +0000 (17:47 +0200)
commitc71d8bb56d43405d7fa1f6d9cf4af2c3cdf4cdf1
treef35104aa066da140d004646ff819fe7ce5606dd4
parentd5bb459ccf1fc5980ae4b95c05b4ecf6454a7599
openssl: fix build with LibreSSL < 2.9.1

`SSL_CTX_add0_chain_cert` and `SSL_CTX_clear_chain_certs` were
introduced in LibreSSL 2.9.1 [0].

[0] https://github.com/libressl-portable/openbsd/commit/0db809ee178457c8170abfae3931d7bd13abf3ef

Closes https://github.com/curl/curl/pull/5757
lib/vtls/openssl.c