Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix build with libressl
  • Loading branch information
olesalscheider committed Dec 19, 2014
1 parent 5a9b31e commit ba4e998
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main.c
Expand Up @@ -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
Expand Down

0 comments on commit ba4e998

Please sign in to comment.