]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
openssl-cmp.pod.in: fix doc of -server uri argument and tweak doc of -tls_used
authorDr. David von Oheimb <dev@ddvo.net>
Mon, 14 Apr 2025 19:04:07 +0000 (21:04 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 3 Feb 2026 08:42:11 +0000 (09:42 +0100)
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
MergeDate: Tue Feb  3 08:43:03 2026
(Merged from https://github.com/openssl/openssl/pull/28478)

apps/cmp.c
doc/man1/openssl-cmp.pod.in

index fe1219ee64a8cb53d4f82783dc8dbe8d00832dfb..90b8b4c5223e3045910eb00c25fcbfde035063cc 100644 (file)
@@ -584,7 +584,7 @@ const OPTIONS cmp_options[] = {
         "NOTE: -tls_used and all other TLS options not supported due to no-sock/no-http build" },
 #else
     { "tls_used", OPT_TLS_USED, '-',
-        "Enable using TLS for HTTP (also when other TLS options are not set)" },
+        "Require using TLS for HTTP (also when other TLS options are not set)" },
     { "tls_cert", OPT_TLS_CERT, 's',
         "Client's TLS certificate. May include chain to be provided to TLS server" },
     { "tls_key", OPT_TLS_KEY, 's',
index b12ca950ab2fe98e83bc2ec9745ea74358a0f915..c6a6edf34789bd9077e1a41dfa89cbf3c4ef9103 100644 (file)
@@ -536,8 +536,8 @@ It is ignored if I<-rspin> is given with enough filename arguments.
 
 If the scheme C<https> is given, the B<-tls_used> option is implied.
 When TLS is used, the default port is 443, otherwise 80.
-The optional userinfo and fragment components are ignored.
-Any given query component is handled as part of the path component.
+The optional userinfo component is ignored.
+Any given query and fragment components are handled as part of the path component.
 If a path is included it provides the default value for the B<-path> option.
 
 =item B<-proxy> I<[http[s]://][userinfo@]host[:port][/path][?query][#fragment]>
@@ -549,6 +549,7 @@ The proxy port defaults to 80 or 443 if the scheme is C<https>; apart from that
 the optional C<http://> or C<https://> prefix is ignored (note that using TLS
 may be required by B<-tls_used> or B<-server> with the prefix C<https>),
 as well as any path, userinfo, and query, and fragment components.
+
 Defaults to the environment variable C<http_proxy> if set, else C<HTTP_PROXY>
 in case no TLS is used, otherwise C<https_proxy> if set, else C<HTTPS_PROXY>.
 This option is ignored if I<-server> is not given.
@@ -986,7 +987,7 @@ L<openssl-passphrase-options(1)>.
 
 =item B<-tls_used>
 
-Make the CMP client use TLS (regardless if other TLS-related options are set)
+Require the CMP client to use TLS (regardless if other TLS-related options are set)
 for message exchange with the server via HTTP.
 This option is not supported with the I<-port> option.
 It is implied if the B<-server> option is given with the scheme C<https>.