mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix compilation when openssl is compiled without engine support.
Patch from Mangix. Closes part of ticket 29026.
This commit is contained in:
@@ -43,7 +43,7 @@ ENABLE_GCC_WARNING(redundant-decls)
|
||||
#include "lib/log/log.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. */
|
||||
#define DISABLE_ENGINES
|
||||
#endif
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
#define OPENSSL_V_SERIES(a,b,c) \
|
||||
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. */
|
||||
#define DISABLE_ENGINES
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user