aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/read_ssh.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-03 02:02:48 +0000
committerlloyd <[email protected]>2010-03-03 02:02:48 +0000
commit82ab6d27cc2b434b4b7ffa528396d67fe6993222 (patch)
tree6be9207091acf15df1936ab072a2562c7f111ff9 /doc/examples/read_ssh.cpp
parenta0d6ce4ce5ccb0108cdd155c7abd830432dc6991 (diff)
Fix minor errors and warnings in the examples. Remove boost dependency from
rng_test example.
Diffstat (limited to 'doc/examples/read_ssh.cpp')
-rw-r--r--doc/examples/read_ssh.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/examples/read_ssh.cpp b/doc/examples/read_ssh.cpp
index 52c758ceb..f6299a29d 100644
--- a/doc/examples/read_ssh.cpp
+++ b/doc/examples/read_ssh.cpp
@@ -17,6 +17,8 @@
using namespace Botan;
+namespace {
+
u32bit read_u32bit(Pipe& pipe)
{
byte out[4] = { 0 };
@@ -104,6 +106,8 @@ Public_Key* read_ssh_pubkey(const std::string& file)
return 0;
}
+}
+
#include <botan/init.h>
#include <iostream>