]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add a missing include to get the declaration of OPENSSL_1_1_API
authorNick Mathewson <nickm@torproject.org>
Tue, 22 May 2018 14:05:27 +0000 (10:05 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 May 2018 14:05:27 +0000 (10:05 -0400)
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 [new file with mode: 0644]
src/common/aes.c

diff --git a/changes/bug26156 b/changes/bug26156
new file mode 100644 (file)
index 0000000..dcb3ca6
--- /dev/null
@@ -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.
index f6b933374a7540b32189d01d9323f3544cbcf1fd..86f3472bfd919cedcf1c63915d01dd65581c6200 100644 (file)
@@ -16,6 +16,7 @@
   #include <ws2tcpip.h>
 #endif
 
+#include "compat_openssl.h"
 #include <openssl/opensslv.h>
 #include "crypto_openssl_mgt.h"