diff options
author | lloyd <[email protected]> | 2012-01-06 20:52:34 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-06 20:52:34 +0000 |
commit | 8ca42a2f4243954ccfe304fb465cc66c2698b42a (patch) | |
tree | e51022f5549fc2a7fe1a0660186bbc135c3fb2c5 /doc/examples/self_sig.cpp | |
parent | d9796c5610e0deb63cbf0a52d374c3c5e755c7e4 (diff) |
Various example updates. Add a new TLS server example that uses asio
Diffstat (limited to 'doc/examples/self_sig.cpp')
-rw-r--r-- | doc/examples/self_sig.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/examples/self_sig.cpp b/doc/examples/self_sig.cpp index 522fad677..7cb159db9 100644 --- a/doc/examples/self_sig.cpp +++ b/doc/examples/self_sig.cpp @@ -35,10 +35,10 @@ int main(int argc, char* argv[]) { AutoSeeded_RNG rng; - //RSA_PrivateKey key(rng, 2048); - DL_Group group(rng, DL_Group::DSA_Kosherizer, 2048, 256); + RSA_PrivateKey key(rng, 2048); + //DL_Group group(rng, DL_Group::DSA_Kosherizer, 2048, 256); - DSA_PrivateKey key(rng, group); + //DSA_PrivateKey key(rng, group); std::ofstream priv_key("private.pem"); priv_key << PKCS8::PEM_encode(key, rng, argv[1]); |