tools: cmake: fix compatibility with LibreSSL as well
authorJo-Philipp Wich <jo@mein.io>
Thu, 1 Dec 2016 15:32:39 +0000 (16:32 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 1 Dec 2016 15:49:24 +0000 (16:49 +0100)
commit0b3b8c83c047137ed83f5697ed44c04dbed5bbeb
treef8c64e22e9b319916417e39a7a77eaffb4c4f9de
parent07b571a4355a27502fcadf8f81144cab8e00a42a
tools: cmake: fix compatibility with LibreSSL as well

Sadly, LibreSSL claims to be OpenSSL v2.0.0 while not providing the new
interfaces introduced with OpenSSL v1.1.x, so extend the pre-OpenSSL 1.1.x
compat checks to consider LibreSSL as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
tools/cmake/patches/150-libarchive-fix-libressl-compat.patch [new file with mode: 0644]