projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Free the compression methods in s_server and s_client
[oweals/openssl.git]
/
apps
/
ecparam.c
diff --git
a/apps/ecparam.c
b/apps/ecparam.c
index 4d57ca4446170d40896b3a81d38aa3587b8c5818..a9bf489cdd4c7af22dc0bfa97e979db3524bf491 100644
(file)
--- a/
apps/ecparam.c
+++ b/
apps/ecparam.c
@@
-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;
BIO *in = NULL, *out = NULL;
int informat, outformat, noout = 0, C = 0, ret = 1;
char *engine = NULL;
-# ifndef OPENSSL_NO_ENGINE
ENGINE *e = NULL;
ENGINE *e = NULL;
-# endif
BIGNUM *ec_p = NULL, *ec_a = NULL, *ec_b = NULL,
*ec_gen = NULL, *ec_order = NULL, *ec_cofactor = NULL;
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);
e = setup_engine(bio_err, engine, 0);
-# endif
if (list_curves) {
EC_builtin_curve *curves = NULL;
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);
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)
if (in != NULL)
BIO_free(in);
if (out != NULL)