aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-18 13:05:27 +0000
committerlloyd <[email protected]>2008-09-18 13:05:27 +0000
commit522063d5274d1af02dcb83a1f3cd5b80c6c663e1 (patch)
tree1df24146e213b0f43d8504b1422a4907d76635c4 /doc/examples
parent0df3333c43d00f69b00e991f28dec9d3ce020e15 (diff)
Remove warning
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/rsa_manykey.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/examples/rsa_manykey.cpp b/doc/examples/rsa_manykey.cpp
index f39fbcbce..95be8c568 100644
--- a/doc/examples/rsa_manykey.cpp
+++ b/doc/examples/rsa_manykey.cpp
@@ -13,10 +13,9 @@ Generate a whole sequence of keys (for benchmarking)
#include <botan/parsing.h>
using namespace Botan;
-int main(int argc, char* argv[])
+int main()
{
- std::auto_ptr<RandomNumberGenerator> rng(
- RandomNumberGenerator::make_rng());
+ std::auto_ptr<RandomNumberGenerator> rng(RandomNumberGenerator::make_rng());
for(u32bit j = 512; j <= 8192; j += 256)
{