Fix compilation when openssl is compiled without engine support.

Patch from Mangix. Closes part of ticket 29026.
This commit is contained in:
Nick Mathewson 2019-02-08 08:50:04 -05:00
parent ab65347819
commit b9abdcd6bc
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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