diff options
author | Jack Lloyd <[email protected]> | 2016-11-03 13:11:18 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-03 13:11:18 -0400 |
commit | 660d985e92d030f4ec0c3503bc14363825183371 (patch) | |
tree | 8daeec407eab8f5dc7c00f83b08fc687abe9a8d9 /src/lib/kdf/kdf.cpp | |
parent | e42d1513fd6f80dcd2ae4109fddf53b61e935116 (diff) |
Simplify some code by using T::create_or_throw
Diffstat (limited to 'src/lib/kdf/kdf.cpp')
-rw-r--r-- | src/lib/kdf/kdf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/kdf/kdf.cpp b/src/lib/kdf/kdf.cpp index f8f822809..94694c70c 100644 --- a/src/lib/kdf/kdf.cpp +++ b/src/lib/kdf/kdf.cpp @@ -195,7 +195,7 @@ KDF::create_or_throw(const std::string& algo, { return bc; } - throw Lookup_Error("Block cipher", algo, provider); + throw Lookup_Error("KDF", algo, provider); } std::vector<std::string> KDF::providers(const std::string& algo_spec) |