apps/cmp.c: Fix TLS hostname checking in case -server provides more than hostname
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Thu, 15 Apr 2021 13:44:41 +0000 (15:44 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Sat, 17 Apr 2021 09:39:12 +0000 (11:39 +0200)
commit44c75ba67df9588636649416e6fb120a9fc27489
treef56491186fdc6f9e4a9fbd8ac1d8fffe82280022
parentcd69b4bd7cffa2f52ab35cdf47b6d95775a4a84b
apps/cmp.c: Fix TLS hostname checking in case -server provides more than hostname

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