aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/exceptn.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 02:20:49 +0000
committerlloyd <[email protected]>2010-10-13 02:20:49 +0000
commitc00da53d958ef8c266012ae9425337143f14f46e (patch)
tree144932858569f60d1fbfe2f079638819a123accb /src/utils/exceptn.h
parentfe4119c74b5e81a354a5313e4d2efbf9a135aa81 (diff)
s/u32bit/size_t/ in utils
Diffstat (limited to 'src/utils/exceptn.h')
-rw-r--r--src/utils/exceptn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/exceptn.h b/src/utils/exceptn.h
index ef7b451bf..1177a4e7d 100644
--- a/src/utils/exceptn.h
+++ b/src/utils/exceptn.h
@@ -54,7 +54,7 @@ struct BOTAN_DLL Internal_Error : public Exception
*/
struct BOTAN_DLL Invalid_Key_Length : public Invalid_Argument
{
- Invalid_Key_Length(const std::string& name, u32bit length) :
+ Invalid_Key_Length(const std::string& name, size_t length) :
Invalid_Argument(name + " cannot accept a key of length " +
to_string(length))
{}
@@ -77,7 +77,7 @@ struct BOTAN_DLL Invalid_Block_Size : public Invalid_Argument
*/
struct BOTAN_DLL Invalid_IV_Length : public Invalid_Argument
{
- Invalid_IV_Length(const std::string& mode, u32bit bad_len) :
+ Invalid_IV_Length(const std::string& mode, size_t bad_len) :
Invalid_Argument("IV length " + to_string(bad_len) +
" is invalid for " + mode)
{}