From 65718c516ec69ff2314d12c7ce57b242ccc3021d Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Thu, 16 Jan 2020 13:40:52 -0500 Subject: 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 Reviewed-by: Dmitry Belyavskiy Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/10873) --- apps/list.c | 4 +++- apps/s_time.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'apps') 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, '-', -- cgit v1.2.3