summaryrefslogtreecommitdiffstats
path: root/usr.bin/openssl/ecparam.c
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2015-09-11 14:30:23 +0000
committerbcook <bcook@openbsd.org>2015-09-11 14:30:23 +0000
commit5284dfeab0bac42424084f2561853f2682aceec6 (patch)
treec3c9672d11cd054f64872d3f159cefe5a3169b3d /usr.bin/openssl/ecparam.c
parentSave/restore MSR_APICBASE during suspend/resume (diff)
downloadwireguard-openbsd-5284dfeab0bac42424084f2561853f2682aceec6.tar.xz
wireguard-openbsd-5284dfeab0bac42424084f2561853f2682aceec6.zip
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@
Diffstat (limited to 'usr.bin/openssl/ecparam.c')
-rw-r--r--usr.bin/openssl/ecparam.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/usr.bin/openssl/ecparam.c b/usr.bin/openssl/ecparam.c
index b0b46a145d4..6adac863d5c 100644
--- a/usr.bin/openssl/ecparam.c
+++ b/usr.bin/openssl/ecparam.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ecparam.c,v 1.12 2015/08/22 16:36:05 jsing Exp $ */
+/* $OpenBSD: ecparam.c,v 1.13 2015/09/11 14:30:23 bcook Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project.
*/
@@ -95,7 +95,6 @@ static struct {
int asn1_flag;
int check;
char *curve_name;
- char *engine;
point_conversion_form_t form;
int genkey;
char *infile;
@@ -161,15 +160,6 @@ struct option ecparam_options[] = {
.type = OPTION_ARG_FUNC,
.opt.argfunc = ecparam_opt_form,
},
-#ifndef OPENSSL_NO_ENGINE
- {
- .name = "engine",
- .argname = "id",
- .desc = "Use the engine specified by the given identifier",
- .type = OPTION_ARG,
- .opt.arg = &ecparam_config.engine,
- },
-#endif
{
.name = "genkey",
.desc = "Generate an EC private key using the specified "
@@ -252,7 +242,7 @@ static void
ecparam_usage(void)
{
fprintf(stderr, "usage: ecparam [-C] [-check] [-conv_form arg] "
- "[-engine id] [-genkey]\n"
+ " [-genkey]\n"
" [-in file] [-inform DER | PEM] [-list_curves] [-name arg]\n"
" [-no_seed] [-noout] [-out file] [-outform DER | PEM]\n"
" [-param_enc arg] [-text]\n\n");
@@ -303,10 +293,6 @@ ecparam_main(int argc, char **argv)
}
}
-#ifndef OPENSSL_NO_ENGINE
- setup_engine(bio_err, ecparam_config.engine, 0);
-#endif
-
if (ecparam_config.list_curves) {
EC_builtin_curve *curves = NULL;
size_t crv_len = 0;