aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/pkcs10.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/pkcs10.cpp
parent7e48e57fe153f002f3fcc9731261ce3f3fe86839 (diff)
Fix the DSA examples. Reindent.
Diffstat (limited to 'doc/examples/pkcs10.cpp')
-rw-r--r--doc/examples/pkcs10.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/examples/pkcs10.cpp b/doc/examples/pkcs10.cpp
index fd3ea0e1d..3983d5891 100644
--- a/doc/examples/pkcs10.cpp
+++ b/doc/examples/pkcs10.cpp
@@ -28,7 +28,9 @@ int main(int argc, char* argv[])
try
{
- std::auto_ptr<RandomNumberGenerator> rng(make_rng());
+ std::auto_ptr<RandomNumberGenerator> rng(
+ RandomNumberGenerator::make_rng());
+
RSA_PrivateKey priv_key(*rng, 1024);
// If you want a DSA key instead of RSA, comment out the above line and
// uncomment this one: