diff options
Diffstat (limited to '')
-rw-r--r-- | src/usr.bin/openssl/apps.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/apps.h b/src/usr.bin/openssl/apps.h index 3ea855f684..277dcc3699 100644 --- a/src/usr.bin/openssl/apps.h +++ b/src/usr.bin/openssl/apps.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: apps.h,v 1.5 2014/08/28 13:39:07 jsing Exp $ */ | 1 | /* $OpenBSD: apps.h,v 1.6 2014/08/28 14:15:28 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 | * |
@@ -289,6 +289,7 @@ struct option { | |||
289 | enum { | 289 | enum { |
290 | OPTION_ARG, | 290 | OPTION_ARG, |
291 | OPTION_ARG_FORMAT, | 291 | OPTION_ARG_FORMAT, |
292 | OPTION_ARG_FUNC, | ||
292 | OPTION_ARG_INT, | 293 | OPTION_ARG_INT, |
293 | OPTION_FLAG, | 294 | OPTION_FLAG, |
294 | OPTION_FLAG_ORD, | 295 | OPTION_FLAG_ORD, |
@@ -297,6 +298,7 @@ struct option { | |||
297 | union { | 298 | union { |
298 | char **arg; | 299 | char **arg; |
299 | int *flag; | 300 | int *flag; |
301 | int (*func)(struct option *opt, char *arg); | ||
300 | int *value; | 302 | int *value; |
301 | } opt; | 303 | } opt; |
302 | const int value; | 304 | const int value; |