aboutsummaryrefslogtreecommitdiffstats
path: root/src/cms
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-12 19:51:32 +0000
committerlloyd <[email protected]>2010-10-12 19:51:32 +0000
commita85f136550c08fc878e3983866af0e6460e980da (patch)
treee495666a243affb92b8a1c5097d536b22c305580 /src/cms
parentff2210b035a1598bf99e18a578ff075bece8fbe5 (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.cpp2
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);
}