diff options
author | lloyd <[email protected]> | 2010-03-03 02:02:48 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-03 02:02:48 +0000 |
commit | 82ab6d27cc2b434b4b7ffa528396d67fe6993222 (patch) | |
tree | 6be9207091acf15df1936ab072a2562c7f111ff9 /doc/examples/dsa_ver.cpp | |
parent | a0d6ce4ce5ccb0108cdd155c7abd830432dc6991 (diff) |
Fix minor errors and warnings in the examples. Remove boost dependency from
rng_test example.
Diffstat (limited to 'doc/examples/dsa_ver.cpp')
-rw-r--r-- | doc/examples/dsa_ver.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/examples/dsa_ver.cpp b/doc/examples/dsa_ver.cpp index 4a2f62ce4..49d9d9bbc 100644 --- a/doc/examples/dsa_ver.cpp +++ b/doc/examples/dsa_ver.cpp @@ -25,6 +25,8 @@ signature format, encoded into base64 with a trailing newline. #include <botan/dsa.h> using namespace Botan; +namespace { + SecureVector<byte> b64_decode(const std::string& in) { Pipe pipe(new Base64_Decoder); @@ -32,6 +34,8 @@ SecureVector<byte> b64_decode(const std::string& in) return pipe.read_all(); } +} + int main(int argc, char* argv[]) { if(argc != 4) |