diff options
author | lloyd <[email protected]> | 2010-02-25 23:07:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-02-25 23:07:38 +0000 |
commit | 5fec937bd0c72858d6cf2f09b58b219294c7d5cc (patch) | |
tree | 811714c0663199782b07b8f20a328eeeeff9e768 /src/utils/exceptn.h | |
parent | 08647db8877585a783797c8db22dc76233b200f0 (diff) | |
parent | 3e95540b28f3d828c4578381c318545f6ad49589 (diff) |
propagate from branch 'net.randombit.botan' (head c1db52e38b60afbc6549af5222d6e10b1b9730dd)
to branch 'net.randombit.botan.c++0x' (head e56dfbfe6bffbd5b4e52b115549d885c5fd04586)
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 86efebc7c..39b18cb0b 100644 --- a/src/utils/exceptn.h +++ b/src/utils/exceptn.h @@ -56,7 +56,7 @@ struct BOTAN_DLL Invalid_Key_Length : public Invalid_Argument { Invalid_Key_Length(const std::string& name, u32bit length) : Invalid_Argument(name + " cannot accept a key of length " + - to_string(length)) + std::to_string(length)) {} }; @@ -78,7 +78,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_Argument("IV length " + to_string(bad_len) + + Invalid_Argument("IV length " + std::to_string(bad_len) + " is invalid for " + mode) {} }; |