aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/passhash.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-28 12:35:52 +0000
committerlloyd <[email protected]>2008-06-28 12:35:52 +0000
commit022f07c82e3c83f4ec6829b03c7013ced1710c41 (patch)
tree2fa10481cc34a8c2e3b9ed952372ce4d439abc88 /doc/examples/passhash.cpp
parent7e48e57fe153f002f3fcc9731261ce3f3fe86839 (diff)
Fix the DSA examples. Reindent.
Diffstat (limited to 'doc/examples/passhash.cpp')
-rw-r--r--doc/examples/passhash.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/examples/passhash.cpp b/doc/examples/passhash.cpp
index 00fd9affa..6df4a4e1d 100644
--- a/doc/examples/passhash.cpp
+++ b/doc/examples/passhash.cpp
@@ -23,7 +23,8 @@ int main(int argc, char* argv[])
if(argc == 2)
{
- std::auto_ptr<RandomNumberGenerator> rng(make_rng());
+ std::auto_ptr<RandomNumberGenerator> rng(
+ RandomNumberGenerator::make_rng());
std::cout << "H('" << argv[1] << "') = "
<< password_hash(argv[1], *rng) << '\n';