diff options
author | lloyd <[email protected]> | 2009-11-16 16:25:44 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-16 16:25:44 +0000 |
commit | fc5fadb281c509855a0ae20ecc70bfe9d681a1af (patch) | |
tree | da68412932bddb23f6626680829afeaf79396415 /src/cms | |
parent | 5ef971f34aced376e385a7ac301e0db96fbef0d4 (diff) |
Replace X509_Store::Search_Func with std::function and lambdas
Diffstat (limited to 'src/cms')
-rw-r--r-- | src/cms/cms_dalg.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cms/cms_dalg.cpp b/src/cms/cms_dalg.cpp index 7ed793f4f..3e8bdb4fa 100644 --- a/src/cms/cms_dalg.cpp +++ b/src/cms/cms_dalg.cpp @@ -52,10 +52,11 @@ std::vector<X509_Certificate> get_cert(BER_Decoder& signer_info, iands.decode(issuer); iands.decode(serial); - found = store.get_certs(IandS_Match(issuer, BigInt::encode(serial))); + found = store.get_certs( + X509_Store_Search::by_issuer_and_serial(issuer, serial)); } else if(id.type_tag == 0 && id.class_tag == CONSTRUCTED) - found = store.get_certs(SKID_Match(id.value)); + found = store.get_certs(X509_Store_Search::by_skid(id.value)); else throw Decoding_Error("CMS: Unknown tag for cert identifier"); |