mirror of
https://github.com/openssl/openssl.git
synced 2025-03-19 19:50:42 +08:00
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)
This commit is contained in:
parent
c9741726c1
commit
96e0445195
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user