aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-28 19:21:20 -0400
committerJack Lloyd <[email protected]>2017-09-28 19:21:20 -0400
commit6c685eaed138c9cddfc8b0b87265b4725347037e (patch)
tree7e4e12b3d7045d2ab53c363e0a52f8efe61e8c28
parentaaf882c2e7e23ac7003137d9e921c8a9d7cc68e9 (diff)
Fixes for MSVC
BOTAN_UNUSED "uses" the RNG :/
-rw-r--r--src/lib/pubkey/pkcs8.cpp1
-rw-r--r--src/lib/tls/tls_messages.h3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/pkcs8.cpp b/src/lib/pubkey/pkcs8.cpp
index 6eb3505ca..59f0c9fa9 100644
--- a/src/lib/pubkey/pkcs8.cpp
+++ b/src/lib/pubkey/pkcs8.cpp
@@ -6,6 +6,7 @@
*/
#include <botan/pkcs8.h>
+#include <botan/rng.h>
#include <botan/der_enc.h>
#include <botan/ber_dec.h>
#include <botan/alg_id.h>
diff --git a/src/lib/tls/tls_messages.h b/src/lib/tls/tls_messages.h
index 2fc62386b..4370f6fe2 100644
--- a/src/lib/tls/tls_messages.h
+++ b/src/lib/tls/tls_messages.h
@@ -14,7 +14,7 @@
#include <botan/tls_session.h>
#include <botan/tls_policy.h>
#include <botan/tls_ciphersuite.h>
-#include <botan/bigint.h>
+#include <botan/pk_keys.h>
#include <botan/x509cert.h>
#include <vector>
#include <string>
@@ -31,7 +31,6 @@
namespace Botan {
class Public_Key;
-class Private_Key;
class Credentials_Manager;
namespace TLS {