Free the compression methods in s_server and s_client
[oweals/openssl.git] / apps / ecparam.c
index 4d57ca4446170d40896b3a81d38aa3587b8c5818..a9bf489cdd4c7af22dc0bfa97e979db3524bf491 100644 (file)
@@ -131,9 +131,7 @@ int MAIN(int argc, char **argv)
     BIO *in = NULL, *out = NULL;
     int informat, outformat, noout = 0, C = 0, ret = 1;
     char *engine = NULL;
-# ifndef OPENSSL_NO_ENGINE
     ENGINE *e = NULL;
-# endif
 
     BIGNUM *ec_p = NULL, *ec_a = NULL, *ec_b = NULL,
         *ec_gen = NULL, *ec_order = NULL, *ec_cofactor = NULL;
@@ -314,9 +312,7 @@ int MAIN(int argc, char **argv)
         }
     }
 
-# ifndef OPENSSL_NO_ENGINE
     e = setup_engine(bio_err, engine, 0);
-# endif
 
     if (list_curves) {
         EC_builtin_curve *curves = NULL;
@@ -625,10 +621,7 @@ int MAIN(int argc, char **argv)
         OPENSSL_free(buffer);
     if (group != NULL)
         EC_GROUP_free(group);
-# ifndef OPENSSL_NO_ENGINE
-    if (e != NULL)
-        release_engine(e);
-# endif
+    release_engine(e);
     if (in != NULL)
         BIO_free(in);
     if (out != NULL)