aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-08-30 11:58:54 -0400
committerJack Lloyd <[email protected]>2016-08-30 11:58:54 -0400
commit9b62714cc500e438fda8399374fd6a793f3f325e (patch)
treebbe5bd85f0f080a437a8c5bbf09b945dab552b1d /src
parent48a1bd58cb188141845082196b684ec5ed1dd635 (diff)
Fix gen_bcrypt cmdlet
Diffstat (limited to 'src')
-rw-r--r--src/cli/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/utils.cpp b/src/cli/utils.cpp
index 610a14dc1..5ec8f295e 100644
--- a/src/cli/utils.cpp
+++ b/src/cli/utils.cpp
@@ -266,7 +266,7 @@ class Generate_Bcrypt final : public Command
void go() override
{
const std::string password = get_arg("password");
- const size_t wf = get_arg_sz("work_factor");
+ const size_t wf = get_arg_sz("work-factor");
output() << Botan::generate_bcrypt(password, rng(), wf) << "\n";
}