From 022f07c82e3c83f4ec6829b03c7013ced1710c41 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 28 Jun 2008 12:35:52 +0000 Subject: Fix the DSA examples. Reindent. --- doc/examples/dsa_kgen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/examples/dsa_kgen.cpp') diff --git a/doc/examples/dsa_kgen.cpp b/doc/examples/dsa_kgen.cpp index 0a380cd9e..2a66d90a3 100644 --- a/doc/examples/dsa_kgen.cpp +++ b/doc/examples/dsa_kgen.cpp @@ -44,7 +44,9 @@ int main(int argc, char* argv[]) try { - std::auto_ptr rng(make_rng()); + std::auto_ptr rng( + RandomNumberGenerator::make_rng()); + DSA_PrivateKey key(*rng, DL_Group("dsa/jce/1024")); pub << X509::PEM_encode(key); -- cgit v1.2.3