X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=apps%2Fx509.c;h=db0ab1a6e93c6789bb9c7dfa53c9e9c1cfd93eca;hb=b263f2124607c42a1013b6b342341196b2bdec8d;hp=1b612d17d41d01ebbfd921654b12dac664225563;hpb=dcfe8df148d225aa15fdd0eba486a028ad4b06dc;p=openssl.git 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 #include #include +#include #ifndef OPENSSL_NO_RSA #include #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); }