diff options
author | Rich Salz <rsalz@akamai.com> | 2020-01-16 19:40:52 +0100 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2020-01-29 18:42:31 +0100 |
commit | 65718c516ec69ff2314d12c7ce57b242ccc3021d (patch) | |
tree | 31f951969e00d21b15659576b2dbb92f11cf76f4 /apps | |
parent | Add more generated man1 doc files (diff) | |
download | openssl-65718c516ec69ff2314d12c7ce57b242ccc3021d.tar.xz openssl-65718c516ec69ff2314d12c7ce57b242ccc3021d.zip |
Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/list.c | 4 | ||||
-rw-r--r-- | apps/s_time.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/apps/list.c b/apps/list.c index a5382ac24f..ed6f1c71ac 100644 --- a/apps/list.c +++ b/apps/list.c @@ -364,10 +364,12 @@ static void list_options_for_command(const char *command) for ( ; o->name != NULL; o++) { char c = o->valtype; + if (o->name == OPT_PARAM_STR) + break; + if (o->name == OPT_HELP_STR || o->name == OPT_MORE_STR || o->name == OPT_SECTION_STR - || o->name == OPT_PARAM_STR || o->name[0] == '\0') continue; BIO_printf(bio_out, "%s %c\n", o->name, c == '\0' ? '-' : c); diff --git a/apps/s_time.c b/apps/s_time.c index d5816a1b16..babbdbe13e 100644 --- a/apps/s_time.c +++ b/apps/s_time.c @@ -89,6 +89,7 @@ const OPTIONS s_time_options[] = { {"cert", OPT_CERT, '<', "Cert file to use, PEM format assumed"}, {"key", OPT_KEY, '<', "File with key, PEM; default is -cert file"}, {"cafile", OPT_CAFILE, '<', "PEM format file of CA's"}, + {"CAfile", OPT_CAFILE, '<', "PEM format file of CA's"}, {"CApath", OPT_CAPATH, '/', "PEM format directory of CA's"}, {"CAstore", OPT_CASTORE, ':', "URI to store of CA's"}, {"no-CAfile", OPT_NOCAFILE, '-', |