diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2019-04-01 16:05:15 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2019-04-01 16:05:15 +0000 |
commit | 6db6bc85f3bfdcab9f91cc3ab33b396da9592ae7 (patch) | |
tree | 6a71afdc372b005f039943e6a666cfad30461836 /usr.bin/openssl/enc.c | |
parent | 16e45ee494a33f343b7ced1debeb773588b9f2bd (diff) |
Make the openssl(1) enc -iter flag actually work.
Diff from Steven Roberts <sroberts at fenderq dot com> - thanks!
Diffstat (limited to 'usr.bin/openssl/enc.c')
-rw-r--r-- | usr.bin/openssl/enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/enc.c b/usr.bin/openssl/enc.c index bcf111f062c..5c254def649 100644 --- a/usr.bin/openssl/enc.c +++ b/usr.bin/openssl/enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: enc.c,v 1.18 2019/02/09 15:49:21 inoguchi Exp $ */ +/* $OpenBSD: enc.c,v 1.19 2019/04/01 16:05:14 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -180,7 +180,7 @@ static struct option enc_options[] = { .name = "iter", .argname = "iterations", .desc = "Specify iteration count and force use of PBKDF2", - .type = OPTION_VALUE, + .type = OPTION_ARG_INT, .opt.value = &enc_config.iter, }, { |