diff options
author | lloyd <[email protected]> | 2010-09-21 16:12:20 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-21 16:12:20 +0000 |
commit | 2372f282068857b9a20073f3f27f6faf3f6989ca (patch) | |
tree | fc3b9781e5e96b77c504dfbb4e7258286adc76b7 /src | |
parent | 38bf331db405e7da2ae81fb5009af5021f476a25 (diff) |
Deal with loss of store search
Diffstat (limited to 'src')
-rw-r--r-- | src/cms/cms_dalg.cpp | 4 | ||||
-rw-r--r-- | src/cms/cms_ealg.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/cms/cms_dalg.cpp b/src/cms/cms_dalg.cpp index 50a2397e5..51cd39db1 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> @@ -43,6 +42,7 @@ std::vector<X509_Certificate> get_cert(BER_Decoder& signer_info, std::vector<X509_Certificate> found; +#if 0 if(id.type_tag == SEQUENCE && id.class_tag == CONSTRUCTED) { X509_DN issuer; @@ -57,6 +57,8 @@ std::vector<X509_Certificate> get_cert(BER_Decoder& signer_info, found = store.get_certs(SKID_Match(id.value)); else throw Decoding_Error("CMS: Unknown tag for cert identifier"); +#endif + throw Internal_Error("Not implemented"); // verify cert if found diff --git a/src/cms/cms_ealg.cpp b/src/cms/cms_ealg.cpp index 3ddf8a39e..7b1ab6bc9 100644 --- a/src/cms/cms_ealg.cpp +++ b/src/cms/cms_ealg.cpp @@ -14,7 +14,6 @@ #include <botan/oids.h> #include <botan/pipe.h> #include <botan/pubkey.h> -#include <botan/x509find.h> #include <memory> namespace Botan { |