summaryrefslogtreecommitdiff
path: root/src/common/crypto_openssl_mgt.h
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffernandezmancera@gmail.com>2018-01-19 18:07:49 +0100
committerFernando Fernandez Mancera <ffernandezmancera@gmail.com>2018-01-19 18:07:49 +0100
commitb3aa7be26c121d1a1fd6df7ab240745a08b6b406 (patch)
treea667514eff24c02d1c31bbaa03850b1e24f41bb8 /src/common/crypto_openssl_mgt.h
parent7684949d37d42a7798df2486fd4da1994f0f7686 (diff)
downloadtor-b3aa7be26c121d1a1fd6df7ab240745a08b6b406.tar.gz
tor-b3aa7be26c121d1a1fd6df7ab240745a08b6b406.zip
Tweaks into functions and variables in crypto_openssl_mgt.[ch]
Renamed free_openssl() to crypto_openssl_free_all(). Also we made variables and functions static again. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com>
Diffstat (limited to 'src/common/crypto_openssl_mgt.h')
-rw-r--r--src/common/crypto_openssl_mgt.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/common/crypto_openssl_mgt.h b/src/common/crypto_openssl_mgt.h
index 0c6bccad41..9b887abd5d 100644
--- a/src/common/crypto_openssl_mgt.h
+++ b/src/common/crypto_openssl_mgt.h
@@ -86,23 +86,15 @@ ENABLE_GCC_WARNING(redundant-decls)
#define NEW_THREAD_API
#endif /* OPENSSL_VERSION_NUMBER >= OPENSSL_VER(1,1,0,0,5) && ... */
-tor_mutex_t **openssl_mutexes_;
-int n_openssl_mutexes_;
-
/* global openssl state */
const char * crypto_openssl_get_version_str(void);
const char * crypto_openssl_get_header_version_str(void);
-/* generics OpenSSL functions */
-char * parse_openssl_version_str(const char *raw_version);
-void openssl_locking_cb_(int mode, int n, const char *file, int line);
-void tor_set_openssl_thread_id(CRYPTO_THREADID *threadid);
-
/* OpenSSL threading setup function */
int setup_openssl_threading(void);
/* Tor OpenSSL utility functions */
-void free_openssl(void);
+void crypto_openssl_free_all(void);
#endif /* !defined(TOR_CRYPTO_OPENSSL_H) */