diff options
Diffstat (limited to 'doc/examples/ecdsa.cpp')
-rw-r--r-- | doc/examples/ecdsa.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/ecdsa.cpp b/doc/examples/ecdsa.cpp index f4673e185..bd40e897b 100644 --- a/doc/examples/ecdsa.cpp +++ b/doc/examples/ecdsa.cpp @@ -19,6 +19,8 @@ int main() std::cout << params.get_order() << "\n"; ECDSA_PrivateKey ecdsa(*rng, params); + + std::cout << X509::PEM_encode(ecdsa); } catch(std::exception& e) { |