diff options
Diffstat (limited to 'src/cms/cms_dalg.cpp')
-rw-r--r-- | src/cms/cms_dalg.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cms/cms_dalg.cpp b/src/cms/cms_dalg.cpp index f727f2a3f..719b791d2 100644 --- a/src/cms/cms_dalg.cpp +++ b/src/cms/cms_dalg.cpp @@ -6,7 +6,6 @@ */ #include <botan/cms_dec.h> -#include <botan/x509find.h> #include <botan/ber_dec.h> #include <botan/oids.h> #include <botan/hash.h> @@ -37,12 +36,13 @@ SecureVector<byte> hash_of(const SecureVector<byte>& content, * Find a cert based on SignerIdentifier */ std::vector<X509_Certificate> get_cert(BER_Decoder& signer_info, - X509_Store& store) + X509_Store&) { BER_Object id = signer_info.get_next_object(); std::vector<X509_Certificate> found; +#if 0 if(id.type_tag == SEQUENCE && id.class_tag == CONSTRUCTED) { X509_DN issuer; @@ -58,6 +58,8 @@ std::vector<X509_Certificate> get_cert(BER_Decoder& signer_info, found = store.get_certs(X509_Store_Search::by_skid(id.value)); else throw Decoding_Error("CMS: Unknown tag for cert identifier"); +#endif + throw Internal_Error("Not implemented"); // verify cert if found |