X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=apps%2Fpkcs7.c;h=c3e9f5c692608e09cf9b07b810f84f3cd974931e;hb=7caf122e717e79afcb986fe217e77a630b67bf4c;hp=22681085fcddd3925b300bd001d1b3c03c62a779;hpb=dd1abd4462e4e4fa84b8f8de2ec70375f9b0e191;p=openssl.git diff --git a/apps/pkcs7.c b/apps/pkcs7.c index 22681085fc..c3e9f5c692 100644 --- a/apps/pkcs7.c +++ b/apps/pkcs7.c @@ -1,5 +1,5 @@ /* - * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -12,6 +12,7 @@ #include #include #include "apps.h" +#include "progs.h" #include #include #include @@ -163,7 +164,7 @@ int pkcs7_main(int argc, char **argv) for (i = 0; i < sk_X509_CRL_num(crls); i++) { crl = sk_X509_CRL_value(crls, i); - X509_CRL_print(out, crl); + X509_CRL_print_ex(out, crl, get_nameopt()); if (!noout) PEM_write_bio_X509_CRL(out, crl); @@ -193,5 +194,5 @@ int pkcs7_main(int argc, char **argv) release_engine(e); BIO_free(in); BIO_free_all(out); - return (ret); + return ret; }