diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-11-22 19:17:15 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-11-22 19:17:15 -0500 |
commit | 298988a5b9687f64de733ce01319e90e94b0b688 (patch) | |
tree | 8b026ad4838457e3e5385ff91380ead4499d30f5 /datatest.cpp | |
parent | 62618fda97bbde6d4cc4752101e69839fc4f3b6f (diff) | |
download | cryptopp-git-298988a5b9687f64de733ce01319e90e94b0b688.tar.gz |
Crypto++ 5.6.3 check-inCRYPTOPP_5_6_3
Diffstat (limited to 'datatest.cpp')
-rw-r--r-- | datatest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datatest.cpp b/datatest.cpp index b4656541..98b5b642 100644 --- a/datatest.cpp +++ b/datatest.cpp @@ -610,10 +610,10 @@ void TestKeyDerivationFunction(TestData &v) std::string salt = GetDecodedDatum(v, "Salt");
std::string info = GetDecodedDatum(v, "Info");
std::string derived = GetDecodedDatum(v, "DerivedKey");
- std::string t = GetDecodedDatum(v, "DerivedLength");
+ std::string t = GetDecodedDatum(v, "DerivedKeyLength");
TestDataNameValuePairs pairs(v);
- unsigned int length = pairs.GetIntValueWithDefault(Name::DerivedLength(), (int)derived.size());
+ unsigned int length = pairs.GetIntValueWithDefault(Name::DerivedKeyLength(), (int)derived.size());
member_ptr<KeyDerivationFunction> kdf;
kdf.reset(ObjectFactoryRegistry<KeyDerivationFunction>::Registry().CreateObject(name.c_str()));
|