mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Fix compilation when openssl is compiled without engine support.
Patch from Mangix. Closes part of ticket 29026.
This commit is contained in:
parent
ab65347819
commit
b9abdcd6bc
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ ENABLE_GCC_WARNING(redundant-decls)
|
||||||
#include "lib/log/log.h"
|
#include "lib/log/log.h"
|
||||||
#include "lib/ctime/di_ops.h"
|
#include "lib/ctime/di_ops.h"
|
||||||
|
|
||||||
#ifdef ANDROID
|
#ifdef OPENSSL_NO_ENGINE
|
||||||
/* Android's OpenSSL seems to have removed all of its Engine support. */
|
/* Android's OpenSSL seems to have removed all of its Engine support. */
|
||||||
#define DISABLE_ENGINES
|
#define DISABLE_ENGINES
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
#define OPENSSL_V_SERIES(a,b,c) \
|
#define OPENSSL_V_SERIES(a,b,c) \
|
||||||
OPENSSL_VER((a),(b),(c),0,0)
|
OPENSSL_VER((a),(b),(c),0,0)
|
||||||
|
|
||||||
#ifdef ANDROID
|
#ifdef OPENSSL_NO_ENGINE
|
||||||
/* Android's OpenSSL seems to have removed all of its Engine support. */
|
/* Android's OpenSSL seems to have removed all of its Engine support. */
|
||||||
#define DISABLE_ENGINES
|
#define DISABLE_ENGINES
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue