aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-28 11:00:41 -0400
committerJack Lloyd <[email protected]>2017-09-28 11:00:41 -0400
commit5bdd5f7658494e077a9a9d934200ddb180691d22 (patch)
treeed47879e4ce2e18a70d5bc2f45887beb1b79a30d /src
parenteadb113289dffbf294f6d499193713b120f79f64 (diff)
Header cleanups
Diffstat (limited to 'src')
-rw-r--r--src/lib/pubkey/xmss/xmss_key_pair.h1
-rw-r--r--src/lib/pubkey/xmss/xmss_privatekey.h1
-rw-r--r--src/lib/pubkey/xmss/xmss_wots_privatekey.h2
-rw-r--r--src/lib/x509/x509_ca.cpp1
-rw-r--r--src/lib/x509/x509_ca.h3
5 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/pubkey/xmss/xmss_key_pair.h b/src/lib/pubkey/xmss/xmss_key_pair.h
index 1d32431bd..2e7cc06da 100644
--- a/src/lib/pubkey/xmss/xmss_key_pair.h
+++ b/src/lib/pubkey/xmss/xmss_key_pair.h
@@ -9,7 +9,6 @@
#define BOTAN_XMSS_KEY_PAIR_H_
#include <botan/botan.h>
-#include <botan/rng.h>
#include <botan/xmss_parameters.h>
#include <botan/xmss_wots_parameters.h>
#include <botan/xmss_publickey.h>
diff --git a/src/lib/pubkey/xmss/xmss_privatekey.h b/src/lib/pubkey/xmss/xmss_privatekey.h
index 5936009bd..d61e5c7df 100644
--- a/src/lib/pubkey/xmss/xmss_privatekey.h
+++ b/src/lib/pubkey/xmss/xmss_privatekey.h
@@ -14,7 +14,6 @@
#include <botan/alg_id.h>
#include <botan/exceptn.h>
#include <botan/pk_keys.h>
-#include <botan/rng.h>
#include <botan/types.h>
#include <botan/xmss_parameters.h>
#include <botan/xmss_publickey.h>
diff --git a/src/lib/pubkey/xmss/xmss_wots_privatekey.h b/src/lib/pubkey/xmss/xmss_wots_privatekey.h
index 8fb4e0233..f327df77b 100644
--- a/src/lib/pubkey/xmss/xmss_wots_privatekey.h
+++ b/src/lib/pubkey/xmss/xmss_wots_privatekey.h
@@ -13,7 +13,7 @@
#include <botan/alg_id.h>
#include <botan/exceptn.h>
#include <botan/pk_keys.h>
-#include <botan/types.h>
+#include <botan/rng.h>
#include <botan/xmss_wots_parameters.h>
#include <botan/xmss_address.h>
#include <botan/xmss_wots_publickey.h>
diff --git a/src/lib/x509/x509_ca.cpp b/src/lib/x509/x509_ca.cpp
index a531b8cbf..332aed545 100644
--- a/src/lib/x509/x509_ca.cpp
+++ b/src/lib/x509/x509_ca.cpp
@@ -6,6 +6,7 @@
*/
#include <botan/x509_ca.h>
+#include <botan/pkcs10.h>
#include <botan/pubkey.h>
#include <botan/der_enc.h>
#include <botan/bigint.h>
diff --git a/src/lib/x509/x509_ca.h b/src/lib/x509/x509_ca.h
index b4e3d64d8..ca1e472d8 100644
--- a/src/lib/x509/x509_ca.h
+++ b/src/lib/x509/x509_ca.h
@@ -10,8 +10,6 @@
#include <botan/x509cert.h>
#include <botan/x509_crl.h>
-#include <botan/x509_ext.h>
-#include <botan/pkcs10.h>
#if defined(BOTAN_HAS_SYSTEM_RNG)
#include <botan/system_rng.h>
@@ -19,6 +17,7 @@
namespace Botan {
+class PKCS10_Request;
class PK_Signer;
/**