diff options
author | Kinichiro Inoguchi <inoguchi@cvs.openbsd.org> | 2020-09-09 12:47:47 +0000 |
---|---|---|
committer | Kinichiro Inoguchi <inoguchi@cvs.openbsd.org> | 2020-09-09 12:47:47 +0000 |
commit | ee462f338f76049e4fd1ca37a8d0edd2936affd0 (patch) | |
tree | 57b5859ea1d484b12485036cc83828fee7b7aaee /usr.bin/openssl/apps.c | |
parent | 433bd7a6625bd72fafa5978ae0ad7431ad02ac6b (diff) |
Add option type OPTION_UL_VALUE_OR
ok tb@
Diffstat (limited to 'usr.bin/openssl/apps.c')
-rw-r--r-- | usr.bin/openssl/apps.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/openssl/apps.c b/usr.bin/openssl/apps.c index c9a2f34b253..2c2f1284848 100644 --- a/usr.bin/openssl/apps.c +++ b/usr.bin/openssl/apps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apps.c,v 1.54 2019/07/14 03:30:45 guenther Exp $ */ +/* $OpenBSD: apps.c,v 1.55 2020/09/09 12:47:46 inoguchi Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -2299,6 +2299,10 @@ options_parse(int argc, char **argv, const struct option *opts, char **unnamed, *opt->opt.value |= opt->value; break; + case OPTION_UL_VALUE_OR: + *opt->opt.ulvalue |= opt->ulvalue; + break; + default: fprintf(stderr, "option %s - unknown type %i\n", opt->name, opt->type); |