aboutsummaryrefslogtreecommitdiff
path: root/net/ibrdtnd/patches/030-openssl-deprecated.patch
blob: a793da8add28b5730f48f4f6f0c7fc62c22f0d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/src/security/SecurityKeyManager.cpp
+++ b/src/security/SecurityKeyManager.cpp
@@ -29,6 +29,7 @@
 #include <fstream>
 #include <fcntl.h>
 
+#include <openssl/bn.h>
 #include <openssl/pem.h>
 #include <openssl/rsa.h>
 #include <openssl/err.h>
--- a/src/security/exchange/DHProtocol.cpp
+++ b/src/security/exchange/DHProtocol.cpp
@@ -28,6 +28,7 @@
 #include <ibrcommon/ssl/HMacStream.h>
 #include <ibrcommon/Logger.h>
 
+#include <openssl/dh.h>
 #include <openssl/rand.h>
 #include <openssl/pem.h>
 #include "openssl_compat.h"