diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-08-16 07:12:14 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-08-16 07:12:14 -0400 |
commit | e22700f741af9071b166a74dd904a1bb7910c6b9 (patch) | |
tree | a743990feaa3aa5735dc3475e1acdca2800c2215 /simple.h | |
parent | c0a5a06a8285c515336a7540095d75aaad628644 (diff) | |
download | cryptopp-git-e22700f741af9071b166a74dd904a1bb7910c6b9.tar.gz |
Fix use of MaxDerivedKeyLength (GH #874)
Diffstat (limited to 'simple.h')
-rw-r--r-- | simple.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,10 +70,10 @@ public: };
/// \brief Exception thrown when an invalid derived key length is encountered
-class CRYPTOPP_DLL InvalidDerivedLength : public InvalidArgument
+class CRYPTOPP_DLL InvalidDerivedKeyLength : public InvalidArgument
{
public:
- explicit InvalidDerivedLength(const std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) + " is not a valid derived key length") {}
+ explicit InvalidDerivedKeyLength(const std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) + " is not a valid derived key length") {}
};
/// \brief Exception thrown when an invalid personalization string length is encountered
|