David Woodhouse c832840e89 Make SSL_set1_host() and SSL_add1_host() take IP addresses
There is a slight mismatch here because X509_VERIFY_PARAM copes only
with a single IP address, and doesn't let it be cleared once it's set.
But this fixes up the major use case, making things easier for users to
get it right.

The sconnect demo now works for Legacy IP literals; for IPv6 it needs to
fix up the way it tries to split the host:port string, which will happen
in a subsequent patch.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9201)
2020-08-03 17:15:35 +02:00
..
2020-07-16 14:47:04 +02:00
2020-07-24 22:53:27 +10:00
2020-05-15 14:09:49 +01:00
2019-09-28 20:26:35 +02:00
2019-09-28 20:26:35 +02:00
2020-05-15 14:09:49 +01:00
2019-09-28 20:26:35 +02:00
2020-07-30 20:15:22 +10:00
2020-07-24 22:53:27 +10:00
2019-09-28 20:26:35 +02:00
2020-07-24 22:53:27 +10:00
2020-07-16 09:12:27 +02:00
2020-07-24 22:53:27 +10:00
2020-07-24 22:53:27 +10:00
2020-07-24 22:53:27 +10:00
2020-07-16 09:12:27 +02:00
2019-09-28 20:26:35 +02:00
2020-04-23 13:55:52 +01:00
2019-09-28 20:26:35 +02:00
2020-04-23 13:55:52 +01:00