From 48d752407b656652c5bdd96c0a839cb291adfc74 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 22 May 2018 10:05:27 -0400 Subject: [PATCH] Add a missing include to get the declaration of OPENSSL_1_1_API Apparently, even though I had tested on OpenSSL 1.1.1 with no-deprecated, OpenSSL 1.1.0 is different enough that I should have tested with that as well. Fixes bug 26156; bugfix on 0.3.4.1-alpha where we first declared support for this configuration. --- changes/bug26156 | 3 +++ src/common/aes.c | 1 + 2 files changed, 4 insertions(+) create mode 100644 changes/bug26156 diff --git a/changes/bug26156 b/changes/bug26156 new file mode 100644 index 000000000..dcb3ca637 --- /dev/null +++ b/changes/bug26156 @@ -0,0 +1,3 @@ + o Minor bugfixes (compilation): + - Fix compilation when building with OpenSSL 1.1.0 with the + "no-deprecated" flag enabled. Fixes bug 26156; bugfix on 0.3.4.1-alpha. diff --git a/src/common/aes.c b/src/common/aes.c index f6b933374..86f3472bf 100644 --- a/src/common/aes.c +++ b/src/common/aes.c @@ -16,6 +16,7 @@ #include #endif +#include "compat_openssl.h" #include #include "crypto_openssl_mgt.h"