From: Rich Salz Date: Mon, 23 Sep 2019 16:29:20 +0000 (-0400) Subject: Fix bugs in "info" commands flags X-Git-Tag: openssl-3.0.0-alpha1~1293 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0773687a2453c3553933a3627e798997abe41691;p=oweals%2Fopenssl.git Fix bugs in "info" commands flags Remove -c/-e/-m aliases, OpenSSL commands don't do that. Fix typo's in the documentation. Fix -module flag to print the right thing. Reviewed-by: Paul Dale Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9986) --- diff --git a/apps/info.c b/apps/info.c index 4656141184..586917298d 100644 --- a/apps/info.c +++ b/apps/info.c @@ -20,12 +20,8 @@ typedef enum OPTION_choice { const OPTIONS info_options[] = { {"help", OPT_HELP, '-', "Display this summary"}, {"configdir", OPT_CONFIGDIR, '-', "Default configuration file directory"}, - {"c", OPT_CONFIGDIR, '-', "Default configuration file directory"}, {"enginesdir", OPT_ENGINESDIR, '-', "Default engine module directory"}, - {"e", OPT_ENGINESDIR, '-', "Default engine module directory"}, - {"modulesdir", OPT_ENGINESDIR, '-', - "Default module directory (other than engine modules)"}, - {"m", OPT_ENGINESDIR, '-', + {"modulesdir", OPT_MODULESDIR, '-', "Default module directory (other than engine modules)"}, {"dsoext", OPT_DSOEXT, '-', "Configured extension for modules"}, {"dirnamesep", OPT_DIRNAMESEP, '-', "Directory-filename separator"}, diff --git a/doc/man1/openssl-info.pod b/doc/man1/openssl-info.pod index 637b60b267..80c2e1fa62 100644 --- a/doc/man1/openssl-info.pod +++ b/doc/man1/openssl-info.pod @@ -8,14 +8,14 @@ openssl-info - print OpenSSL built-in information B [B<-help>] -[B<-configdir> | B<-c>] -[B<-enginesdir> | B<-e>] -[B<-modulesdir> | B<-m>] +[B<-configdir>] +[B<-enginesdir>] +[B<-modulesdir> ] [B<-dsoext>] [B<-dirfilesep>] -[B<-listsep]> -[B<-seeds]> -[B<-cpusettings]> +[B<-listsep>] +[B<-seeds>] +[B<-cpusettings>] =head1 DESCRIPTION @@ -34,15 +34,15 @@ command. Print out a usage message. -=item B<-configdir>, B<-c> +=item B<-configdir> Outputs the default directory for OpenSSL configuration files. -=item B<-enginesdir>, B<-e> +=item B<-enginesdir> Outputs the default directory for OpenSSL engine modules. -=item B<-modulesdir>, B<-m> +=item B<-modulesdir> Outputs the default directory for OpenSSL dynamically loadable modules other than engine modules.