projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BC-32.pl: refresh Borland C support.
[oweals/openssl.git]
/
apps
/
dh.c
diff --git
a/apps/dh.c
b/apps/dh.c
index c4d891e125ea1e3ed42145b6382b7423ecff4b43..dee9c01fcec1e10419cccc6549f70b467666c6a5 100644
(file)
--- a/
apps/dh.c
+++ b/
apps/dh.c
@@
-88,9
+88,6
@@
int MAIN(int, char **);
int MAIN(int argc, char **argv)
{
int MAIN(int argc, char **argv)
{
-#ifndef OPENSSL_NO_ENGINE
- ENGINE *e = NULL;
-#endif
DH *dh=NULL;
int i,badops=0,text=0;
BIO *in=NULL,*out=NULL;
DH *dh=NULL;
int i,badops=0,text=0;
BIO *in=NULL,*out=NULL;
@@
-189,7
+186,7
@@
bad:
ERR_load_crypto_strings();
#ifndef OPENSSL_NO_ENGINE
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());
#endif
in=BIO_new(BIO_s_file());
@@
-349,4
+346,10
@@
end:
apps_shutdown();
OPENSSL_EXIT(ret);
}
apps_shutdown();
OPENSSL_EXIT(ret);
}
+#else /* !OPENSSL_NO_DH */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
+
#endif
#endif