summaryrefslogtreecommitdiff
path: root/vio/viosslfactories.c
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-10-24 10:43:15 +0200
committermsvensson@neptunus.(none) <>2006-10-24 10:43:15 +0200
commit25abce028e638ba9c8a03e14e9ffe230c5b8db2a (patch)
treef7a9ec9c2a287fb94393b645600fdabe98f67519 /vio/viosslfactories.c
parent38c66b638fc31234ea01bc17d024cfe422528977 (diff)
downloadmariadb-git-25abce028e638ba9c8a03e14e9ffe230c5b8db2a.tar.gz
When using yaSSL on NetWare some of the OpenSSL specifix hacks can be skipped
Diffstat (limited to 'vio/viosslfactories.c')
-rw-r--r--vio/viosslfactories.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vio/viosslfactories.c b/vio/viosslfactories.c
index 2c528e9a2fc..9fd18579351 100644
--- a/vio/viosslfactories.c
+++ b/vio/viosslfactories.c
@@ -180,11 +180,15 @@ void netware_ssl_cleanup()
/* free memory from SSL_library_init() */
EVP_cleanup();
+/* OpenSSL NetWare port specific functions */
+#ifndef HAVE_YASSL
+
/* free global X509 method */
X509_STORE_method_cleanup();
/* free the thread_hash error table */
ERR_free_state_table();
+#endif
}