]> git.ipfire.org Git - thirdparty/openssl.git/commit
APPS/cmp: Fix logic and doc of mutually exclusive -server/-use_mock_srv/-port/-rspin...
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Tue, 7 Dec 2021 18:07:43 +0000 (19:07 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Wed, 15 Dec 2021 10:47:10 +0000 (11:47 +0100)
commita56bb5d64e7599140117f935eeeb34ba94c83aea
tree1f0729848f11dfb7074a29fb0e59f5d366c753b7
parent1f8ca9e3d3fa674da4ab6694cef2f266e6ab0f20
APPS/cmp: Fix logic and doc of mutually exclusive -server/-use_mock_srv/-port/-rspin options

Ignore -server with -rspin and exclude all of -use_mock_srv/-port/-rspin.
On the other hand, -server is required if no -use_mock_srv/-port/-rspin is given.
Ignore -tls_used with -use_mock_srv and -rspin; it is not supported with -port.
If -server is not given, ignore -proxy, -no_proxy, and -tls_used.
Also slightly improve the documentation of the two mock server variants.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17254)
apps/cmp.c
doc/man1/openssl-cmp.pod.in