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/encrypt.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/examples/encrypt.cpp') diff --git a/doc/examples/encrypt.cpp b/doc/examples/encrypt.cpp index 8d0636c35..e5245cd5d 100644 --- a/doc/examples/encrypt.cpp +++ b/doc/examples/encrypt.cpp @@ -121,7 +121,8 @@ int main(int argc, char* argv[]) const u32bit key_len = max_keylength_of(algo); const u32bit iv_len = block_size_of(algo); - std::auto_ptr rng(make_rng()); + std::auto_ptr rng( + RandomNumberGenerator::make_rng()); std::auto_ptr s2k(get_s2k("PBKDF2(SHA-1)")); s2k->set_iterations(8192); -- cgit v1.2.3