From ea9d9b1fff60ceccdfcd70a30e99c611294571bb Mon Sep 17 00:00:00 2001 From: jsing <> Date: Mon, 1 Apr 2019 16:05:14 +0000 Subject: Make the openssl(1) enc -iter flag actually work. Diff from Steven Roberts - thanks! --- src/usr.bin/openssl/enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/enc.c') diff --git a/src/usr.bin/openssl/enc.c b/src/usr.bin/openssl/enc.c index bcf111f062..5c254def64 100644 --- a/src/usr.bin/openssl/enc.c +++ b/src/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, }, { -- cgit v1.2.3-55-g6feb