[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Add a missing include to get the declaration of OPENSSL_1_1_API
commit 48d752407b656652c5bdd96c0a839cb291adfc74
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Tue May 22 10:05:27 2018 -0400
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(+)
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 <ws2tcpip.h>
#endif
+#include "compat_openssl.h"
#include <openssl/opensslv.h>
#include "crypto_openssl_mgt.h"
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits