X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fpkeyparam.c;h=6f7a357a36c40428eded3aae4ee7af830133202e;hp=8435e5ea41861b2ba4be7cfc3e5a098e447dc3c7;hb=b362ccab5c1d52086f19d29a32f4acc11073b86b;hpb=105f6a6323cd1a9ac7fab68d575bf0382324a3bc diff --git a/apps/pkeyparam.c b/apps/pkeyparam.c index 8435e5ea41..6f7a357a36 100644 --- a/apps/pkeyparam.c +++ b/apps/pkeyparam.c @@ -1,5 +1,5 @@ /* apps/pkeyparam.c */ -/* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL +/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006 */ /* ==================================================================== @@ -68,7 +68,6 @@ 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; @@ -125,7 +124,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"); @@ -139,7 +140,7 @@ int MAIN(int argc, char **argv) } #ifndef OPENSSL_NO_ENGINE - e = setup_engine(bio_err, engine, 0); + setup_engine(bio_err, engine, 0); #endif if (infile) @@ -177,7 +178,7 @@ int MAIN(int argc, char **argv) pkey = PEM_read_bio_Parameters(in, NULL); if (!pkey) { - BIO_printf(bio_err, "Error reading paramters\n"); + BIO_printf(bio_err, "Error reading parameters\n"); ERR_print_errors(bio_err); goto end; }