]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix build with libressl 568/head
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>
Fri, 19 Dec 2014 10:41:34 +0000 (11:41 +0100)
committerNiels Ole Salscheider <niels_ole@salscheider-online.de>
Fri, 19 Dec 2014 10:41:45 +0000 (11:41 +0100)
src/main.c

index c718e39f244993268dc3d4f76721d46916981f1f..ad066fabcb063eb78ebe5f3b378100d313c879ca 100644 (file)
@@ -978,12 +978,14 @@ main(int argc, char **argv)
   CRYPTO_cleanup_all_ex_data();
   EVP_cleanup();
   CONF_modules_free();
+#ifndef OPENSSL_NO_COMP
   COMP_zlib_cleanup();
+#endif
   ERR_remove_state(0);
   ERR_free_strings();
-  {
-    sk_SSL_COMP_free(SSL_COMP_get_compression_methods());
-  }
+#ifndef OPENSSL_NO_COMP
+  sk_SSL_COMP_free(SSL_COMP_get_compression_methods());
+#endif
   /* end of OpenSSL cleanup code */
 
 #if ENABLE_DBUS_1