summaryrefslogtreecommitdiffstats
path: root/apps/openssl.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-06-24 13:16:30 +0200
committerRichard Levitte <levitte@openssl.org>2020-06-28 18:49:50 +0200
commit96e0445195e22f27c661ca4cd57c1caa52b6abb4 (patch)
treec5562d25abfcd4b4b6431403bbae735625cf067b /apps/openssl.c
parentConfigurations: drop toolchain from configuration targets (diff)
downloadopenssl-96e0445195e22f27c661ca4cd57c1caa52b6abb4.tar.xz
openssl-96e0445195e22f27c661ca4cd57c1caa52b6abb4.zip
apps/openssl: clean-up of unused fallback code
Remove code in help_main() that duplicates the case when 'openssl' is called with no arguments, which is now handled in main(). Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/12295)
Diffstat (limited to 'apps/openssl.c')
-rw-r--r--apps/openssl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/openssl.c b/apps/openssl.c
index 3593c2b9f2..a1b4443e4b 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -312,12 +312,6 @@ int help_main(int argc, char **argv)
DISPLAY_COLUMNS dc;
char *new_argv[3];
- if (argc == 0) {
- new_argv[0] = "help";
- new_argv[1] = NULL;
- return do_cmd(prog_init(), 1, new_argv);
- }
-
prog = opt_init(argc, argv, help_options);
while ((o = opt_next()) != OPT_hEOF) {
switch (o) {