aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/pubkey/pbes2/pbes2.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/pubkey/pbes2/pbes2.cpp b/src/lib/pubkey/pbes2/pbes2.cpp
index 995f93c47..263263843 100644
--- a/src/lib/pubkey/pbes2/pbes2.cpp
+++ b/src/lib/pubkey/pbes2/pbes2.cpp
@@ -114,10 +114,6 @@ secure_vector<uint8_t> derive_key(const std::string& passphrase,
const std::chrono::milliseconds msec(*msec_in_iterations_out);
pwhash = pwhash_fam->tune(key_length, msec);
}
- else if(iterations_if_msec_null <= 100000)
- {
- pwhash = pwhash_fam->default_params();
- }
else
{
pwhash = pwhash_fam->from_iterations(iterations_if_msec_null);