X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=apps%2Fpkcs7.c;h=0e1427cc315513ac91a7ed82396828b1f8591f82;hp=ece2cd7d68d1cb8e1c235c9fa2b7d5d353f888cc;hb=37b7185b5dafec8c1798b2f7ebb3e5c22bf74fa4;hpb=6b691a5c85ddc4e407e32781841fee5c029506cd diff --git a/apps/pkcs7.c b/apps/pkcs7.c index ece2cd7d68..0e1427cc31 100644 --- a/apps/pkcs7.c +++ b/apps/pkcs7.c @@ -61,12 +61,12 @@ #include #include #include "apps.h" -#include "err.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" -#include "pkcs7.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include #undef PROG #define PROG pkcs7_main @@ -195,7 +195,7 @@ bad: if (informat == FORMAT_ASN1) p7=d2i_PKCS7_bio(in,NULL); else if (informat == FORMAT_PEM) - p7=PEM_read_bio_PKCS7(in,NULL,NULL); + p7=PEM_read_bio_PKCS7(in,NULL,NULL,NULL); else { BIO_printf(bio_err,"bad input format specified for pkcs7 object\n"); @@ -222,7 +222,7 @@ bad: if (print_certs) { STACK_OF(X509) *certs=NULL; - STACK *crls=NULL; + STACK_OF(X509_CRL) *crls=NULL; i=OBJ_obj2nid(p7->type); switch (i) @@ -266,9 +266,9 @@ bad: { X509_CRL *crl; - for (i=0; icrl->issuer,buf,256); BIO_puts(out,"issuer= ");