aboutsummaryrefslogtreecommitdiffstats
path: root/src/cms/cms_enc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cms/cms_enc.h')
-rw-r--r--src/cms/cms_enc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cms/cms_enc.h b/src/cms/cms_enc.h
index f8e9a5a8f..5dca838dd 100644
--- a/src/cms/cms_enc.h
+++ b/src/cms/cms_enc.h
@@ -51,10 +51,10 @@ class BOTAN_DLL CMS_Encoder
std::string PEM_contents();
void set_data(const std::string&);
- void set_data(const byte[], u32bit);
+ void set_data(const byte[], size_t);
CMS_Encoder(const std::string& str) { set_data(str); }
- CMS_Encoder(const byte buf[], u32bit length) { set_data(buf, length); }
+ CMS_Encoder(const byte buf[], size_t length) { set_data(buf, length); }
private:
void add_layer(const std::string&, DER_Encoder&);