aboutsummaryrefslogtreecommitdiffstats
path: root/src/cms/cms_dalg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cms/cms_dalg.cpp')
-rw-r--r--src/cms/cms_dalg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cms/cms_dalg.cpp b/src/cms/cms_dalg.cpp
index 8b168902b..2935f3070 100644
--- a/src/cms/cms_dalg.cpp
+++ b/src/cms/cms_dalg.cpp
@@ -175,7 +175,7 @@ void CMS_Decoder::decode_layer()
decompress(decoder);
else if(type == OIDS::lookup("CMS.DigestedData"))
{
- u32bit version;
+ size_t version;
AlgorithmIdentifier hash_algo;
SecureVector<byte> digest;
@@ -198,7 +198,7 @@ void CMS_Decoder::decode_layer()
#if 1
throw Internal_Error("FIXME: not implemented");
#else
- u32bit version;
+ size_t version;
BER_Decoder sig_info = BER::get_subsequence(decoder);
BER::decode(sig_info, version);
@@ -213,7 +213,7 @@ void CMS_Decoder::decode_layer()
{
AlgorithmIdentifier sig_algo, hash_algo;
SecureVector<byte> signature, digest;
- u32bit version;
+ size_t version;
BER_Decoder signer_info = BER::get_subsequence(signer_infos);
BER::decode(signer_info, version);