sha256t.c: make sure unrolled loop is tested.
[openssl.git] / apps / pkcs7.c
index aa1852a9fafea871c27230f7100463e73e261e9f..ae6cd33f738a81ab3adf6ed53b97adc59f80ab68 100644 (file)
@@ -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)
                {