mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Try to build with OpenSSL 0.9.6. Lets pay attention to see if anybody complains.
svn:r5398
This commit is contained in:
parent
fd58b0bc6e
commit
83d6b0387b
@ -66,6 +66,7 @@ const char crypto_c_id[] = "$Id$";
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x00907000l
|
#if OPENSSL_VERSION_NUMBER < 0x00907000l
|
||||||
|
#define OPENSSL_PRE_097
|
||||||
#define NO_ENGINES
|
#define NO_ENGINES
|
||||||
#else
|
#else
|
||||||
#include <openssl/engine.h>
|
#include <openssl/engine.h>
|
||||||
@ -238,9 +239,9 @@ crypto_global_cleanup(void)
|
|||||||
ERR_free_strings();
|
ERR_free_strings();
|
||||||
#ifndef NO_ENGINES
|
#ifndef NO_ENGINES
|
||||||
ENGINE_cleanup();
|
ENGINE_cleanup();
|
||||||
#endif
|
|
||||||
CONF_modules_unload(1);
|
CONF_modules_unload(1);
|
||||||
CRYPTO_cleanup_all_ex_data();
|
CRYPTO_cleanup_all_ex_data();
|
||||||
|
#endif
|
||||||
#ifdef TOR_IS_MULTITHREADED
|
#ifdef TOR_IS_MULTITHREADED
|
||||||
if (_n_openssl_mutexes) {
|
if (_n_openssl_mutexes) {
|
||||||
int n = _n_openssl_mutexes;
|
int n = _n_openssl_mutexes;
|
||||||
|
Loading…
Reference in New Issue
Block a user