diff options
author | lloyd <[email protected]> | 2010-10-13 02:20:49 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 02:20:49 +0000 |
commit | c00da53d958ef8c266012ae9425337143f14f46e (patch) | |
tree | 144932858569f60d1fbfe2f079638819a123accb /src/utils/exceptn.h | |
parent | fe4119c74b5e81a354a5313e4d2efbf9a135aa81 (diff) |
s/u32bit/size_t/ in utils
Diffstat (limited to 'src/utils/exceptn.h')
-rw-r--r-- | src/utils/exceptn.h | 4 |
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) {} |