diff options
author | Richard Levitte <levitte@openssl.org> | 2024-10-15 12:22:52 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-10-16 19:29:53 +0200 |
commit | 5f3fefe2f3b1103299eda85831908508d8bb2114 (patch) | |
tree | 457b93cd42a23fd7d525a8690a595169b2b35511 /apps | |
parent | 50e9d2b188b8dce070f388640c06a7dc04417390 (diff) | |
download | openssl-5f3fefe2f3b1103299eda85831908508d8bb2114.zip openssl-5f3fefe2f3b1103299eda85831908508d8bb2114.tar.gz openssl-5f3fefe2f3b1103299eda85831908508d8bb2114.tar.bz2 |
Add 'openssl info' item for the Windows install context
This information is already present as an 'openssl version' item.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25694)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/info.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/info.c b/apps/info.c index f3a1a2b..5a469ee 100644 --- a/apps/info.c +++ b/apps/info.c @@ -14,7 +14,7 @@ typedef enum OPTION_choice { OPT_COMMON, OPT_CONFIGDIR, OPT_ENGINESDIR, OPT_MODULESDIR, OPT_DSOEXT, OPT_DIRNAMESEP, - OPT_LISTSEP, OPT_SEEDS, OPT_CPUSETTINGS + OPT_LISTSEP, OPT_SEEDS, OPT_CPUSETTINGS, OPT_WINDOWSCONTEXT } OPTION_CHOICE; const OPTIONS info_options[] = { @@ -32,6 +32,7 @@ const OPTIONS info_options[] = { {"listsep", OPT_LISTSEP, '-', "List separator character"}, {"seeds", OPT_SEEDS, '-', "Seed sources"}, {"cpusettings", OPT_CPUSETTINGS, '-', "CPU settings info"}, + {"windowscontext", OPT_WINDOWSCONTEXT, '-', "Windows install context"}, {NULL} }; @@ -85,6 +86,10 @@ opthelp: type = OPENSSL_INFO_CPU_SETTINGS; dirty++; break; + case OPT_WINDOWSCONTEXT: + type = OPENSSL_INFO_WINDOWS_CONTEXT; + dirty++; + break; } } if (!opt_check_rest_arg(NULL)) |