ssl_release(): Fix build with LibreSSL
authorFabian Keil <fk@fabiankeil.de>
Wed, 23 Sep 2020 08:10:43 +0000 (10:10 +0200)
committerFabian Keil <fk@fabiankeil.de>
Sat, 26 Sep 2020 09:16:03 +0000 (11:16 +0200)
commitb5bbe06f4eae8fe1b7d3d16b8035f46b4fb54648
tree04aea9bc4c61181831c778d0cd22a9bde73386f9
parent0d5bbf0636882dd2b71bd5cc46cae09733e6d6e1
ssl_release(): Fix build with LibreSSL

... by only calling SSL_COMP_free_compression_methods()
and COMP_zlib_cleanup() if OPENSSL_NO_COMP is undefined.

Briefly tested with LibreSSL 3.1.1 on OpenBSD 6.7.
openssl.c