aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/passhash.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/examples/passhash.cpp b/doc/examples/passhash.cpp
index 0949e944c..1e4c8c505 100644
--- a/doc/examples/passhash.cpp
+++ b/doc/examples/passhash.cpp
@@ -29,10 +29,8 @@ int main(int argc, char* argv[])
{
Botan::AutoSeeded_RNG rng;
- Botan::u32bit work_factor = 10;
-
std::cout << "H('" << argv[1] << "') = "
- << Botan::password_hash(argv[1], rng, work_factor) << '\n';
+ << Botan::password_hash(argv[1], rng) << '\n';
}
else
{