Fix for CMS/PKCS7 MMA. If RSA decryption fails use a random key and
[oweals/openssl.git] / apps / dhparam.c
index 04bd57c6e8aa22c16dadc9772ecc55484bcb6b2a..465cdfe77bfac05d4bbd0890d88b30d3522686d6 100644 (file)
@@ -149,9 +149,6 @@ int MAIN(int, char **);
 
 int MAIN(int argc, char **argv)
        {
-#ifndef OPENSSL_NO_ENGINE
-       ENGINE *e = NULL;
-#endif
        DH *dh=NULL;
        int i,badops=0,text=0;
 #ifndef OPENSSL_NO_DSA
@@ -270,7 +267,7 @@ bad:
        ERR_load_crypto_strings();
 
 #ifndef OPENSSL_NO_ENGINE
-        e = setup_engine(bio_err, engine, 0);
+        setup_engine(bio_err, engine, 0);
 #endif
 
        if (g && !num)