From e2fad4e6bdd4e404b3f4c186de52078738af2271 Mon Sep 17 00:00:00 2001 From: bcook <> Date: Fri, 11 Sep 2015 14:30:23 +0000 Subject: Remove engine command and parameters from openssl(1). We do not have any builtin or dynamic engines, meaning openssl(1) has no way to use the engine command or parameters at all. ok jsing@ --- src/usr.bin/openssl/pkeyparam.c | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'src/usr.bin/openssl/pkeyparam.c') diff --git a/src/usr.bin/openssl/pkeyparam.c b/src/usr.bin/openssl/pkeyparam.c index e5152dfbf9..8f4d3a53f4 100644 --- a/src/usr.bin/openssl/pkeyparam.c +++ b/src/usr.bin/openssl/pkeyparam.c @@ -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,15 +73,6 @@ struct { } 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", @@ -118,7 +106,7 @@ static void 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); } @@ -137,10 +125,6 @@ pkeyparam_main(int argc, char **argv) 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"))) { BIO_printf(bio_err, "Can't open input file %s\n", -- cgit v1.2.3-55-g6feb