=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/pkeyparam.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- src/usr.bin/openssl/pkeyparam.c 2015/08/22 16:36:05 1.6 +++ src/usr.bin/openssl/pkeyparam.c 2015/09/11 14:30:23 1.7 @@ -1,4 +1,4 @@ -/* $OpenBSD: pkeyparam.c,v 1.6 2015/08/22 16:36:05 jsing Exp $ */ +/* $OpenBSD: pkeyparam.c,v 1.7 2015/09/11 14:30:23 bcook Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006 */ @@ -66,9 +66,6 @@ #include struct { -#ifndef OPENSSL_NO_ENGINE - char *engine; -#endif char *infile; int noout; char *outfile; @@ -76,16 +73,7 @@ } pkeyparam_config; struct option pkeyparam_options[] = { -#ifndef OPENSSL_NO_ENGINE { - .name = "engine", - .argname = "id", - .desc = "Use the engine specified by the given identifier", - .type = OPTION_ARG, - .opt.arg = &pkeyparam_config.engine, - }, -#endif - { .name = "in", .argname = "file", .desc = "Input file (default stdin)", @@ -118,7 +106,7 @@ pkeyparam_usage() { fprintf(stderr, - "usage: pkeyparam [-engine id] [-in file] [-noout] [-out file] " + "usage: pkeyparam [-in file] [-noout] [-out file] " "[-text]\n"); options_usage(pkeyparam_options); } @@ -136,10 +124,6 @@ pkeyparam_usage(); return (1); } - -#ifndef OPENSSL_NO_ENGINE - setup_engine(bio_err, pkeyparam_config.engine, 0); -#endif if (pkeyparam_config.infile) { if (!(in = BIO_new_file(pkeyparam_config.infile, "r"))) {