aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-28 10:00:58 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-28 10:00:58 -0500
commite9caa8645e5da69ac503a365624896d33b91504b (patch)
tree496db1a8d4313b59932e80080dbbf30688a78016 /src/common/tortls.c
parent20d0b1a04e0949c1bb46858c117947131ee448e1 (diff)
downloadtor-e9caa8645e5da69ac503a365624896d33b91504b.tar.gz
tor-e9caa8645e5da69ac503a365624896d33b91504b.zip
Try to work around changes in openssl 1.1.0
Prefer not to use a couple of deprecated functions; include more headers in tortls.c This is part of ticket 14188.
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index ca629135a6..5df6364393 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -50,6 +50,8 @@
#include <openssl/asn1.h>
#include <openssl/bio.h>
#include <openssl/opensslv.h>
+#include <openssl/bn.h>
+#include <openssl/rsa.h>
#if __GNUC__ && GCC_VERSION >= 402
#if GCC_VERSION >= 406