aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-25 19:01:48 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-25 19:01:48 +0000
commit9492424d3fa009011bfb10d6afe2a1b5e6190173 (patch)
treed6f77a9542c9de823364e2d23ed815dca13b37b6 /src/common/crypto.h
parentb39d03116b56d8e8af94480c1d5fb279310d4cc3 (diff)
downloadtor-9492424d3fa009011bfb10d6afe2a1b5e6190173.tar
tor-9492424d3fa009011bfb10d6afe2a1b5e6190173.tar.gz
Per comments at the bottom of openssl/FAQ, call even more functions to
clean up OpenSSL's toys when it's done playing. (Why isn't there an OpenSSL_free_everything() function?) svn:r5321
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 4eb57e88e..6b128fda6 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -53,6 +53,7 @@ typedef struct crypto_dh_env_t crypto_dh_env_t;
/* global state */
int crypto_global_init(int hardwareAccel);
+void crypto_thread_cleanup(void);
int crypto_global_cleanup(void);
/* environment setup */