aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/numbertheory
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-03-23 02:18:09 +0000
committerlloyd <[email protected]>2015-03-23 02:18:09 +0000
commitcd5ae5dae47241275477f63f1941bd233f861339 (patch)
tree16d9648e317458822725ef95f326fdf2d4ff6924 /src/lib/math/numbertheory
parent2d5669770a5723d258703384f905e1d13d6b8696 (diff)
Cleanups
Diffstat (limited to 'src/lib/math/numbertheory')
-rw-r--r--src/lib/math/numbertheory/dsa_gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/dsa_gen.cpp b/src/lib/math/numbertheory/dsa_gen.cpp
index 358b8bd6a..e28873550 100644
--- a/src/lib/math/numbertheory/dsa_gen.cpp
+++ b/src/lib/math/numbertheory/dsa_gen.cpp
@@ -52,7 +52,7 @@ bool generate_dsa_primes(RandomNumberGenerator& rng,
"Generating a DSA parameter set with a " + std::to_string(qbits) +
"long q requires a seed at least as many bits long");
- std::unique_ptr<HashFunction> hash(get_hash("SHA-" + std::to_string(qbits)));
+ std::unique_ptr<HashFunction> hash(make_hash_function("SHA-" + std::to_string(qbits)));
const size_t HASH_SIZE = hash->output_length();