aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/prov/pkcs11/p11_ecc_key.h5
-rw-r--r--src/lib/prov/pkcs11/p11_rsa.h5
2 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/prov/pkcs11/p11_ecc_key.h b/src/lib/prov/pkcs11/p11_ecc_key.h
index a32a78339..ac0667f89 100644
--- a/src/lib/prov/pkcs11/p11_ecc_key.h
+++ b/src/lib/prov/pkcs11/p11_ecc_key.h
@@ -10,15 +10,14 @@
#define BOTAN_P11_ECC_H__
#include <botan/build.h>
-#if defined(BOTAN_HAS_ECC_PUBLIC_KEY_CRYPTO)
-
#include <botan/p11_object.h>
#include <botan/pk_keys.h>
+
+#if defined(BOTAN_HAS_ECC_PUBLIC_KEY_CRYPTO)
#include <botan/ecc_key.h>
#include <botan/ec_group.h>
#include <botan/rng.h>
#include <botan/alg_id.h>
-
#include <vector>
namespace Botan {
diff --git a/src/lib/prov/pkcs11/p11_rsa.h b/src/lib/prov/pkcs11/p11_rsa.h
index bf1422dc2..2739cf3e5 100644
--- a/src/lib/prov/pkcs11/p11_rsa.h
+++ b/src/lib/prov/pkcs11/p11_rsa.h
@@ -10,13 +10,12 @@
#define BOTAN_P11_RSA_H__
#include <botan/build.h>
-#if defined(BOTAN_HAS_RSA)
-
#include <botan/p11.h>
#include <botan/p11_session.h>
#include <botan/p11_object.h>
-#include <botan/rsa.h>
+#if defined(BOTAN_HAS_RSA)
+#include <botan/rsa.h>
#include <utility>
namespace Botan {