summaryrefslogtreecommitdiffstats
path: root/apps/rand.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-05-01 15:29:00 +0200
committerDr. David von Oheimb <dev@ddvo.net>2021-05-05 20:48:20 +0200
commitb0f960189b8696f878b163d7123afdb99dfdb738 (patch)
tree45facb234e41f7f1a832382e8b925beedd8eeb6a /apps/rand.c
parentAPPS: Slightly extend and improve documentation of the opt_ API (diff)
downloadopenssl-b0f960189b8696f878b163d7123afdb99dfdb738.tar.xz
openssl-b0f960189b8696f878b163d7123afdb99dfdb738.zip
APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15111)
Diffstat (limited to 'apps/rand.c')
-rw-r--r--apps/rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/rand.c b/apps/rand.c
index 24f8c64d43..cbf495d5bc 100644
--- a/apps/rand.c
+++ b/apps/rand.c
@@ -19,7 +19,7 @@
#include <openssl/rand.h>
typedef enum OPTION_choice {
- OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
+ OPT_COMMON,
OPT_OUT, OPT_ENGINE, OPT_BASE64, OPT_HEX,
OPT_R_ENUM, OPT_PROV_ENUM
} OPTION_CHOICE;