diff options
author | lloyd <[email protected]> | 2008-06-28 12:35:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-06-28 12:35:52 +0000 |
commit | 022f07c82e3c83f4ec6829b03c7013ced1710c41 (patch) | |
tree | 2fa10481cc34a8c2e3b9ed952372ce4d439abc88 /doc/examples/dh.cpp | |
parent | 7e48e57fe153f002f3fcc9731261ce3f3fe86839 (diff) |
Fix the DSA examples. Reindent.
Diffstat (limited to 'doc/examples/dh.cpp')
-rw-r--r-- | doc/examples/dh.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/examples/dh.cpp b/doc/examples/dh.cpp index 1957215bc..f2a43e7f6 100644 --- a/doc/examples/dh.cpp +++ b/doc/examples/dh.cpp @@ -17,7 +17,8 @@ int main() { try { - std::auto_ptr<RandomNumberGenerator> rng(make_rng()); + std::auto_ptr<RandomNumberGenerator> rng( + RandomNumberGenerator::make_rng()); // Alice creates a DH key and sends (the public part) to Bob DH_PrivateKey private_a(*rng, DL_Group("modp/ietf/1024")); |