projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop compiler warnings about deprecated lvalue casts.
[openssl.git]
/
apps
/
ec.c
diff --git
a/apps/ec.c
b/apps/ec.c
index 7d57341cb47d1046008b0638fe7eb2b5fa5a1de0..392e6a2ef64891bdfc3b79f43e016a8fc8e8d29c 100644
(file)
--- a/
apps/ec.c
+++ b/
apps/ec.c
@@
-84,7
+84,9
@@
int MAIN(int, char **);
int MAIN(int argc, char **argv)
{
int MAIN(int argc, char **argv)
{
+#ifndef OPENSSL_NO_ENGINE
ENGINE *e = NULL;
ENGINE *e = NULL;
+#endif
int ret = 1;
EC_KEY *eckey = NULL;
int i, badops = 0;
int ret = 1;
EC_KEY *eckey = NULL;
int i, badops = 0;
@@
-249,7
+251,9
@@
bad:
ERR_load_crypto_strings();
ERR_load_crypto_strings();
+#ifndef OPENSSL_NO_ENGINE
e = setup_engine(bio_err, engine, 0);
e = setup_engine(bio_err, engine, 0);
+#endif
if(!app_passwd(bio_err, passargin, passargout, &passin, &passout))
{
if(!app_passwd(bio_err, passargin, passargout, &passin, &passout))
{