diff options
author | lloyd <[email protected]> | 2008-09-30 04:09:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-30 04:09:19 +0000 |
commit | 443f02eecbce215b67a8418c991e66c217b4d7c2 (patch) | |
tree | 88dea7d698721bf53ca614cd0f13e88c2d40ec4f /src/cms/cms_dec.cpp | |
parent | ae0901dde9282d1b9c2de7a1fac4a41c8043d59c (diff) |
Update CMS to at least compile (though in a couple of cases by just
#ifdef'ing out code); it still needs a good bit of work and has
not been tested at all.
Diffstat (limited to 'src/cms/cms_dec.cpp')
-rw-r--r-- | src/cms/cms_dec.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cms/cms_dec.cpp b/src/cms/cms_dec.cpp index edd1cd489..55c1c8cd5 100644 --- a/src/cms/cms_dec.cpp +++ b/src/cms/cms_dec.cpp @@ -34,7 +34,7 @@ CMS_Decoder::CMS_Decoder(DataSource& in, const X509_Store& x509store, /************************************************* * Read the outermost ContentInfo * *************************************************/ -void CMS_Decoder::initial_read(DataSource& in) +void CMS_Decoder::initial_read(DataSource&) { // FIXME... @@ -60,9 +60,11 @@ void CMS_Decoder::add_key(PKCS8_PrivateKey* key) if(!key) return; +#if 0 for(u32bit j = 0; j != keys.size(); j++) if(keys[j]->key_id() == key->key_id()) return; +#endif keys.push_back(key); } |