diff options
author | Rob Stradling <rob@comodo.com> | 2014-02-19 13:12:46 +0000 |
---|---|---|
committer | Rob Stradling <rob@comodo.com> | 2014-02-19 13:12:46 +0000 |
commit | b263f2124607c42a1013b6b342341196b2bdec8d (patch) | |
tree | bf2187bbb4537f3842bd40559edad07d269823aa /apps/x509.c | |
parent | dcfe8df148d225aa15fdd0eba486a028ad4b06dc (diff) |
Move the SCT List extension parser into libssl.
Add the extension parser in the s_client, ocsp and x509 apps.
Diffstat (limited to 'apps/x509.c')
-rw-r--r-- | apps/x509.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/x509.c b/apps/x509.c index 1b612d17d4..db0ab1a6e9 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -73,6 +73,7 @@ #include <openssl/x509v3.h> #include <openssl/objects.h> #include <openssl/pem.h> +#include <openssl/ssl.h> #ifndef OPENSSL_NO_RSA #include <openssl/rsa.h> #endif @@ -224,6 +225,8 @@ int MAIN(int argc, char **argv) apps_startup(); + X509V3_EXT_add_rfc6962(); + if (bio_err == NULL) bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); @@ -1155,6 +1158,7 @@ end: sk_ASN1_OBJECT_pop_free(trust, ASN1_OBJECT_free); sk_ASN1_OBJECT_pop_free(reject, ASN1_OBJECT_free); if (passin) OPENSSL_free(passin); + X509V3_EXT_cleanup(); apps_shutdown(); OPENSSL_EXIT(ret); } |