summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoug <doug@openbsd.org>2015-06-16 02:27:24 +0000
committerdoug <doug@openbsd.org>2015-06-16 02:27:24 +0000
commit0aaa00e6a1e7c6b97f03241d069af7c030c35439 (patch)
tree651d677fcbc073344d7a097f931e92dfd4bee0d4
parentput -F before -f in the options list; (diff)
downloadwireguard-openbsd-0aaa00e6a1e7c6b97f03241d069af7c030c35439.tar.xz
wireguard-openbsd-0aaa00e6a1e7c6b97f03241d069af7c030c35439.zip
Add support for OPTION_DISCARD.
ok jsing@
-rw-r--r--usr.bin/openssl/apps.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/openssl/apps.c b/usr.bin/openssl/apps.c
index 8cef15fbb16..54a3fee3446 100644
--- a/usr.bin/openssl/apps.c
+++ b/usr.bin/openssl/apps.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apps.c,v 1.25 2015/02/07 04:09:43 bcook Exp $ */
+/* $OpenBSD: apps.c,v 1.26 2015/06/16 02:27:24 doug Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -2344,6 +2344,9 @@ options_parse(int argc, char **argv, struct option *opts, char **unnamed,
*opt->opt.value = (int)val;
break;
+ case OPTION_DISCARD:
+ break;
+
case OPTION_FUNC:
if (opt->opt.func() != 0)
return (1);