diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2013-10-16 17:37:11 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2013-10-16 17:37:11 +0400 |
commit | de4ca539b896abfb2888ce7dee6f7de39d2e9657 (patch) | |
tree | 7fc71dec89c69e10684d7caf11525027e7505255 /vio | |
parent | 6dd9f049ab2c8771feabec447cff66b703392046 (diff) | |
download | mariadb-git-de4ca539b896abfb2888ce7dee6f7de39d2e9657.tar.gz |
MDEV-4890 Valgrind warnings on shutdown on a build with openSSL
Diffstat (limited to 'vio')
-rw-r--r-- | vio/vio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vio/vio.c b/vio/vio.c index 486fe63da05..7b2cf45142f 100644 --- a/vio/vio.c +++ b/vio/vio.c @@ -250,5 +250,11 @@ void vio_end(void) { #ifdef HAVE_YASSL yaSSL_CleanUp(); +#elif defined(HAVE_OPENSSL) + // This one is needed on the client side + ERR_remove_state(0); + ERR_free_strings(); + EVP_cleanup(); + CRYPTO_cleanup_all_ex_data(); #endif } |