aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/Cryptography/RSA.cpp4
-rw-r--r--src/common/Cryptography/RSA.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/common/Cryptography/RSA.cpp b/src/common/Cryptography/RSA.cpp
index 969d00dae0f..db880b642eb 100644
--- a/src/common/Cryptography/RSA.cpp
+++ b/src/common/Cryptography/RSA.cpp
@@ -17,6 +17,10 @@
#include "RSA.h"
#include <openssl/pem.h>
+#include <algorithm>
+#include <iterator>
+#include <memory>
+#include <vector>
#define CHECK_AND_DECLARE_FUNCTION_TYPE(name, publicKey, privateKey) \
static_assert(std::is_same<decltype(&publicKey), decltype(&privateKey)>::value, \
diff --git a/src/common/Cryptography/RSA.h b/src/common/Cryptography/RSA.h
index 1eac7c7c06e..865acac2211 100644
--- a/src/common/Cryptography/RSA.h
+++ b/src/common/Cryptography/RSA.h
@@ -17,6 +17,7 @@
#include "Define.h"
#include <openssl/rsa.h>
+#include <string>
#include <type_traits>
namespace Trinity