diff options
author | lloyd <[email protected]> | 2006-06-05 22:20:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-05 22:20:52 +0000 |
commit | 5b5730d94506af76f4aa47ea2ed51be67ecb4b62 (patch) | |
tree | 3ac0c408bb769b1d82bfc7f4930bb227b2efefca | |
parent | 73dfd239247f8146fa030d5bcf3436b13da5a1bc (diff) |
Don't print a CRL from the X.509 CA example.
-rw-r--r-- | doc/examples/ca.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/doc/examples/ca.cpp b/doc/examples/ca.cpp index fbc637bbc..a28227357 100644 --- a/doc/examples/ca.cpp +++ b/doc/examples/ca.cpp @@ -19,8 +19,6 @@ using namespace Botan; #include <iostream> -#define DOUCH_BAG CESSATION_OF_OPERATION - int main(int argc, char* argv[]) { if(argc != 2) @@ -50,11 +48,6 @@ int main(int argc, char* argv[]) // send the new cert back to the requestor std::cout << new_cert.PEM_encode(); - - std::vector<CRL_Entry> revoked_certs; - revoked_certs.push_back(CRL_Entry(new_cert, DOUCH_BAG)); - X509_CRL crl = ca.update_crl(ca.new_crl(), revoked_certs); - std::cout << crl.PEM_encode(); } catch(std::exception& e) { |