diff options
author | lloyd <[email protected]> | 2010-10-12 19:51:32 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-12 19:51:32 +0000 |
commit | a85f136550c08fc878e3983866af0e6460e980da (patch) | |
tree | e495666a243affb92b8a1c5097d536b22c305580 /src/cms | |
parent | ff2210b035a1598bf99e18a578ff075bece8fbe5 (diff) |
Use size_t in filters
This breaks API for anyone creating their own Filter types, but it had
to happen eventually.
Diffstat (limited to 'src/cms')
-rw-r--r-- | src/cms/cms_algo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cms/cms_algo.cpp b/src/cms/cms_algo.cpp index 458e8e3f5..79faaed4f 100644 --- a/src/cms/cms_algo.cpp +++ b/src/cms/cms_algo.cpp @@ -33,7 +33,7 @@ SecureVector<byte> do_rfc3217_wrap(RandomNumberGenerator& rng, public: std::string name() const { return "Fip_Bytes"; } - void write(const byte data[], u32bit length) + void write(const byte data[], size_t length) { buf += std::make_pair(data, length); } |