X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Ftincd.c;h=3abd33f00d284fe66524019eb7a44ce6cbf6c7d9;hp=db6b213aa1a67fc94cdab4e4fed14f55a89dd6f5;hb=78c5b1c2dc3347894d69bf95b08c3f664c0bc399;hpb=3fae14fae5a347823679ef694ab630b4991a201d diff --git a/src/tincd.c b/src/tincd.c index db6b213a..3abd33f0 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -821,14 +821,8 @@ end: free(priority); EVP_cleanup(); - ENGINE_cleanup(); - CRYPTO_cleanup_all_ex_data(); -#ifdef HAVE_ERR_REMOVE_STATE - // OpenSSL claims this function was deprecated in 1.0.0, - // but valgrind's leak detector shows you still need to call it to make sure OpenSSL cleans up properly. - ERR_remove_state(0); -#endif ERR_free_strings(); + ENGINE_cleanup(); exit_configuration(&config_tree); list_delete_list(cmdline_conf);