diff options
author | David Woodhouse <dwmw2@infradead.org> | 2019-10-14 10:46:07 +0100 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2020-08-03 17:15:35 +0200 |
commit | c832840e899091948bb7f5e9af63f929e6a18f95 (patch) | |
tree | 2cf3eeddafae44eccbac59934bfb0962d0a58ff7 /demos | |
parent | a677190779705d243cca88ae04f2105dee52672d (diff) |
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)
Diffstat (limited to 'demos')
0 files changed, 0 insertions, 0 deletions