summaryrefslogtreecommitdiffstats
path: root/apps/pkeyparam.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-12-20 17:04:40 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-12-20 17:04:40 +0000
commit70531c147c2d38b03f109312a270ccc0af6cf8d6 (patch)
tree0ef375be374bef4018aa0a2c560aaec44c9e6464 /apps/pkeyparam.c
parent75bbf6e14c14583a7fd3c1ca03888d4eb5568d4f (diff)
Make no-engine work again.
Diffstat (limited to 'apps/pkeyparam.c')
-rw-r--r--apps/pkeyparam.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/pkeyparam.c b/apps/pkeyparam.c
index 0b911af636..4319eb4de5 100644
--- a/apps/pkeyparam.c
+++ b/apps/pkeyparam.c
@@ -68,13 +68,13 @@ int MAIN(int, char **);
int MAIN(int argc, char **argv)
{
- ENGINE *e = NULL;
char **args, *infile = NULL, *outfile = NULL;
BIO *in = NULL, *out = NULL;
int text = 0, noout = 0;
EVP_PKEY *pkey=NULL;
int badarg = 0;
#ifndef OPENSSL_NO_ENGINE
+ ENGINE *e = NULL;
char *engine=NULL;
#endif
int ret = 1;
@@ -125,7 +125,9 @@ int MAIN(int argc, char **argv)
if (badarg)
{
+#ifndef OPENSSL_NO_ENGINE
bad:
+#endif
BIO_printf(bio_err, "Usage pkeyparam [options]\n");
BIO_printf(bio_err, "where options are\n");
BIO_printf(bio_err, "-in file input file\n");