X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=apps%2Fpkcs7.c;h=ae6cd33f738a81ab3adf6ed53b97adc59f80ab68;hp=aa1852a9fafea871c27230f7100463e73e261e9f;hb=c8c6914aacb444caecab300769587c8f295285bc;hpb=9194296de8ed9173b348494833517b5bb319f072 diff --git a/apps/pkcs7.c b/apps/pkcs7.c index aa1852a9fa..ae6cd33f73 100644 --- a/apps/pkcs7.c +++ b/apps/pkcs7.c @@ -82,9 +82,6 @@ int MAIN(int, char **); int MAIN(int argc, char **argv) { -#ifndef OPENSSL_NO_ENGINE - ENGINE *e = NULL; -#endif PKCS7 *p7=NULL; int i,badops=0; BIO *in=NULL,*out=NULL; @@ -182,7 +179,7 @@ bad: ERR_load_crypto_strings(); #ifndef OPENSSL_NO_ENGINE - e = setup_engine(bio_err, engine, 0); + setup_engine(bio_err, engine, 0); #endif in=BIO_new(BIO_s_file()); @@ -241,7 +238,7 @@ bad: } if (p7_print) - PKCS7_print(out, p7, 0, NULL); + PKCS7_print_ctx(out, p7, 0, NULL); if (print_certs) {