diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-03-25 11:27:50 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-03-31 10:04:44 -0400 |
commit | e7506c03cf7e3121fb33567452039eaccd1eea50 (patch) | |
tree | 83c9437c838894d23c39b9d9037ff831fa7e4bab /src/common/crypto.h | |
parent | 04f1ddaa2a33194ba861cc38f89f16fd076c63a6 (diff) | |
download | tor-e7506c03cf7e3121fb33567452039eaccd1eea50.tar.gz tor-e7506c03cf7e3121fb33567452039eaccd1eea50.zip |
Isolate dmalloc/openssl bridge code to crypto.c
This makes it so main.c, and the rest of src/or, no longer need to
include any openssl headers.
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index 62c78b5d77..c70d91c262 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -131,6 +131,10 @@ int crypto_early_init(void) ATTR_WUR; int crypto_global_init(int hardwareAccel, const char *accelName, const char *accelPath) ATTR_WUR; +#ifdef USE_DMALLOC +int crypto_use_tor_alloc_functions(void); +#endif + void crypto_thread_cleanup(void); int crypto_global_cleanup(void); |