aboutsummaryrefslogtreecommitdiffstats
path: root/src/cms
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-16 16:25:44 +0000
committerlloyd <[email protected]>2009-11-16 16:25:44 +0000
commitfc5fadb281c509855a0ae20ecc70bfe9d681a1af (patch)
treeda68412932bddb23f6626680829afeaf79396415 /src/cms
parent5ef971f34aced376e385a7ac301e0db96fbef0d4 (diff)
Replace X509_Store::Search_Func with std::function and lambdas
Diffstat (limited to 'src/cms')
-rw-r--r--src/cms/cms_dalg.cpp5
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");