aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-29 11:20:35 +0200
committerSimon Warta <[email protected]>2015-08-03 17:54:26 +0200
commitef66c849678928004a742badb6950f0d62efaa70 (patch)
treeddee8c7dab094f44d300fc1f11ecb78334531ef0 /src/cmd
parente098ae00ed1c4602872247f8a9a145174176b701 (diff)
Remove unused pkcs8 includes
Only botan-cli, botan-tests and the FFI module depend on PKCS8
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/ca.cpp1
-rw-r--r--src/cmd/credentials.h1
-rw-r--r--src/cmd/dsa_sign.cpp1
-rw-r--r--src/cmd/pkcs10.cpp1
-rw-r--r--src/cmd/self_sig.cpp1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/ca.cpp b/src/cmd/ca.cpp
index 427352c20..3b67d40fb 100644
--- a/src/cmd/ca.cpp
+++ b/src/cmd/ca.cpp
@@ -9,6 +9,7 @@
#if defined(BOTAN_HAS_X509_CERTIFICATES)
#include <botan/x509_ca.h>
+#include <botan/pkcs8.h>
namespace {
diff --git a/src/cmd/credentials.h b/src/cmd/credentials.h
index 9056f31eb..f7109e1a3 100644
--- a/src/cmd/credentials.h
+++ b/src/cmd/credentials.h
@@ -7,6 +7,7 @@
#ifndef EXAMPLE_CREDENTIALS_MANAGER_H__
#define EXAMPLE_CREDENTIALS_MANAGER_H__
+#include <botan/pkcs8.h>
#include <botan/credentials_manager.h>
#include <botan/x509self.h>
#include <botan/rsa.h>
diff --git a/src/cmd/dsa_sign.cpp b/src/cmd/dsa_sign.cpp
index 8a7365329..25ad6f9de 100644
--- a/src/cmd/dsa_sign.cpp
+++ b/src/cmd/dsa_sign.cpp
@@ -10,6 +10,7 @@
#include <botan/dsa.h>
#include <botan/pubkey.h>
+#include <botan/pkcs8.h>
#include <botan/base64.h>
#include <fstream>
diff --git a/src/cmd/pkcs10.cpp b/src/cmd/pkcs10.cpp
index 847f898d5..18fdea9bf 100644
--- a/src/cmd/pkcs10.cpp
+++ b/src/cmd/pkcs10.cpp
@@ -8,6 +8,7 @@
#if defined(BOTAN_HAS_X509_CERTIFICATES) && defined(BOTAN_HAS_RSA)
+#include <botan/pkcs8.h>
#include <botan/x509self.h>
#include <botan/rsa.h>
#include <fstream>
diff --git a/src/cmd/self_sig.cpp b/src/cmd/self_sig.cpp
index d6b783497..6916420ca 100644
--- a/src/cmd/self_sig.cpp
+++ b/src/cmd/self_sig.cpp
@@ -8,6 +8,7 @@
#if defined(BOTAN_HAS_X509_CERTIFICATES) && defined(BOTAN_HAS_RSA)
+#include <botan/pkcs8.h>
#include <botan/x509self.h>
#include <botan/rsa.h>
#include <fstream>