Add support for OPTION_DISCARD.
authordoug <doug@openbsd.org>
Tue, 16 Jun 2015 02:27:24 +0000 (02:27 +0000)
committerdoug <doug@openbsd.org>
Tue, 16 Jun 2015 02:27:24 +0000 (02:27 +0000)
ok jsing@

usr.bin/openssl/apps.c

index 8cef15f..54a3fee 100644 (file)
@@ -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);