diff options
author | lloyd <[email protected]> | 2010-10-29 14:43:03 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-29 14:43:03 +0000 |
commit | 1f438bfa0ef0777cdee8585a1061c7b355cf5222 (patch) | |
tree | f13e5e71b5ff15eb291233f9a29b4c4dd8f97a8c /src/cms/cms_algo.cpp | |
parent | e8b1e9cb1dde969a73c3d33f192162a9ec6a2b4b (diff) |
s/u32bit/size_t/
Diffstat (limited to 'src/cms/cms_algo.cpp')
-rw-r--r-- | src/cms/cms_algo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cms/cms_algo.cpp b/src/cms/cms_algo.cpp index 33652a6b6..a02f7e737 100644 --- a/src/cms/cms_algo.cpp +++ b/src/cms/cms_algo.cpp @@ -39,7 +39,7 @@ SecureVector<byte> do_rfc3217_wrap(RandomNumberGenerator& rng, } void end_msg() { - for(u32bit j = 0; j != buf.size(); j++) + for(size_t j = 0; j != buf.size(); j++) send(buf[buf.size()-j-1]); buf.clear(); } @@ -149,7 +149,7 @@ SecureVector<byte> CMS_Encoder::encode_params(const std::string& cipher, SymmetricKey CMS_Encoder::setup_key(RandomNumberGenerator& rng, const std::string& cipher) { - u32bit keysize = 0; + size_t keysize = 0; if(cipher == "TripleDES") keysize = 24; if(cipher == "RC2") keysize = 16; |