diff options
| author | jsing <> | 2019-04-01 16:05:14 +0000 |
|---|---|---|
| committer | jsing <> | 2019-04-01 16:05:14 +0000 |
| commit | 47b864d8ad45e9a189482586d3bfcb4114453656 (patch) | |
| tree | 4ae9d1daa917c1c1bb6d21f31c4a3acd87482fb5 /src | |
| parent | 21c42a511c7d5693d9e491b79f765c4e74d2c16e (diff) | |
| download | openbsd-47b864d8ad45e9a189482586d3bfcb4114453656.tar.gz openbsd-47b864d8ad45e9a189482586d3bfcb4114453656.tar.bz2 openbsd-47b864d8ad45e9a189482586d3bfcb4114453656.zip | |
Make the openssl(1) enc -iter flag actually work.
Diff from Steven Roberts <sroberts at fenderq dot com> - thanks!
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.bin/openssl/enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
| 1 | /* $OpenBSD: enc.c,v 1.18 2019/02/09 15:49:21 inoguchi Exp $ */ | 1 | /* $OpenBSD: enc.c,v 1.19 2019/04/01 16:05:14 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -180,7 +180,7 @@ static struct option enc_options[] = { | |||
| 180 | .name = "iter", | 180 | .name = "iter", |
| 181 | .argname = "iterations", | 181 | .argname = "iterations", |
| 182 | .desc = "Specify iteration count and force use of PBKDF2", | 182 | .desc = "Specify iteration count and force use of PBKDF2", |
| 183 | .type = OPTION_VALUE, | 183 | .type = OPTION_ARG_INT, |
| 184 | .opt.value = &enc_config.iter, | 184 | .opt.value = &enc_config.iter, |
| 185 | }, | 185 | }, |
| 186 | { | 186 | { |
