aboutsummaryrefslogtreecommitdiff
path: root/src/lib/tls
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-02-08 08:51:04 -0500
committerNick Mathewson <nickm@torproject.org>2019-02-08 08:51:23 -0500
commit49ec29044d12ff1d609ebe491f08f84e958be748 (patch)
tree87e7b48bf83fa497bc0c1690ea6c07fd11169740 /src/lib/tls
parentb9abdcd6bce961baea17274ff6d213322d2b46d7 (diff)
downloadtor-49ec29044d12ff1d609ebe491f08f84e958be748.tar.gz
tor-49ec29044d12ff1d609ebe491f08f84e958be748.zip
Add more openssl includes to fix no-deprecated compilation
Closes ticket 29026; patch from Mangix.
Diffstat (limited to 'src/lib/tls')
-rw-r--r--src/lib/tls/x509_openssl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/tls/x509_openssl.c b/src/lib/tls/x509_openssl.c
index cf276c4240..a344279c22 100644
--- a/src/lib/tls/x509_openssl.c
+++ b/src/lib/tls/x509_openssl.c
@@ -31,7 +31,10 @@ DISABLE_GCC_WARNING(redundant-decls)
#include <openssl/asn1.h>
#include <openssl/bio.h>
#include <openssl/bn.h>
+#include <openssl/evp.h>
+#include <openssl/objects.h>
#include <openssl/rsa.h>
+#include <openssl/x509.h>
ENABLE_GCC_WARNING(redundant-decls)