aboutsummaryrefslogtreecommitdiffstats
path: root/src/cms/cms_enc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cms/cms_enc.cpp')
-rw-r--r--src/cms/cms_enc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cms/cms_enc.cpp b/src/cms/cms_enc.cpp
index 3437c15e3..1cc2064ac 100644
--- a/src/cms/cms_enc.cpp
+++ b/src/cms/cms_enc.cpp
@@ -15,7 +15,7 @@ namespace Botan {
/*
* Setup the intitial layer of CMS data
*/
-void CMS_Encoder::set_data(const byte buf[], u32bit length)
+void CMS_Encoder::set_data(const byte buf[], size_t length)
{
if(!data.empty())
throw Invalid_State("Cannot call CMS_Encoder::set_data here");