diff options
author | lloyd <[email protected]> | 2010-08-18 22:39:21 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-08-18 22:39:21 +0000 |
commit | 87c938f6289782cacfcb5170322716363bd31122 (patch) | |
tree | da59c74616ce353a45b5389dcc198f24e5f3aeb5 /doc | |
parent | 19890d2b8f0aa5da8f29353228c29100d7e62bf0 (diff) |
Allow generating larger keys in rsa_kgen example (up to 16K bits)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/rsa_kgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/rsa_kgen.cpp b/doc/examples/rsa_kgen.cpp index 1108b46db..f4566263b 100644 --- a/doc/examples/rsa_kgen.cpp +++ b/doc/examples/rsa_kgen.cpp @@ -30,7 +30,7 @@ int main(int argc, char* argv[]) } u32bit bits = std::atoi(argv[1]); - if(bits < 1024 || bits > 4096) + if(bits < 1024 || bits > 16384) { std::cout << "Invalid argument for bitsize" << std::endl; return 1; |