diff options
author | Jack Lloyd <[email protected]> | 2017-09-21 16:13:20 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-21 16:13:20 -0400 |
commit | 5cd468130eb73635daf598292523df787904a47d (patch) | |
tree | e2bde06c75004e9e2958f05c5785d497e4095a26 /src/lib/x509/name_constraint.cpp | |
parent | 5d48c1406a956496fd4a020263ee59fbe7fad90a (diff) |
More include header cleanups
Diffstat (limited to 'src/lib/x509/name_constraint.cpp')
-rw-r--r-- | src/lib/x509/name_constraint.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/x509/name_constraint.cpp b/src/lib/x509/name_constraint.cpp index fc91a5477..ea922a3b9 100644 --- a/src/lib/x509/name_constraint.cpp +++ b/src/lib/x509/name_constraint.cpp @@ -7,7 +7,6 @@ #include <botan/name_constraint.h> #include <botan/ber_dec.h> -#include <botan/der_enc.h> #include <botan/charset.h> #include <botan/loadstor.h> #include <botan/x509_dn.h> @@ -17,6 +16,8 @@ namespace Botan { +class DER_Encoder; + GeneralName::GeneralName(const std::string& str) : GeneralName() { size_t p = str.find(':'); @@ -32,7 +33,7 @@ GeneralName::GeneralName(const std::string& str) : GeneralName() } } -void GeneralName::encode_into(class DER_Encoder&) const +void GeneralName::encode_into(DER_Encoder&) const { throw Not_Implemented("GeneralName encoding"); } @@ -248,7 +249,7 @@ GeneralSubtree::GeneralSubtree(const std::string& str) : GeneralSubtree() } } -void GeneralSubtree::encode_into(class DER_Encoder&) const +void GeneralSubtree::encode_into(DER_Encoder&) const { throw Not_Implemented("General Subtree encoding"); } |