The unified diff between revisions [12d9bc88..] and [61694173..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'doc/examples/self_sig.cpp'

#
#
# patch "doc/examples/self_sig.cpp"
#  from [7b9cca9a8f2445c586e59acfd079f94739dd9d1a]
#    to [d1c702ea771fc2f771878e4078a3daa8728ae96d]
#
============================================================
--- doc/examples/self_sig.cpp	7b9cca9a8f2445c586e59acfd079f94739dd9d1a
+++ doc/examples/self_sig.cpp	d1c702ea771fc2f771878e4078a3daa8728ae96d
@@ -42,7 +42,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 key(*rng, 1024);

       std::ofstream priv_key("private.pem");