diff options
author | Péter Dimitrov <[email protected]> | 2019-02-12 14:15:40 +0100 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2019-02-13 10:28:24 +0100 |
commit | 73a681948072c81b332858b37c8292c4c04a9d46 (patch) | |
tree | bea1167e5143cde84c6060db8c0f57ce573bacc9 /lib/inets/examples | |
parent | 578524273019737549e3ef9c7bde4ee6a6c42be3 (diff) | |
download | otp-73a681948072c81b332858b37c8292c4c04a9d46.tar.gz otp-73a681948072c81b332858b37c8292c4c04a9d46.tar.bz2 otp-73a681948072c81b332858b37c8292c4c04a9d46.zip |
ssl: Use IPv4 addresses with openssl s_client
This commit fixes failing testcases on OpenBSD 12.0 systems. It
forces openssl s_client to use an IPv4 address if openssl supports
IPv6.
When s_client is called with the argument "localhost" it binds
to the first address returned by getaddrinfo. As the first address
is an IPv6 address on OpenBSD 12.0, the client fails to send
UDP packets to the ssl server that is listening on an IPv4 address.
Change-Id: Ie662d10f4f0d9c803f7a341c9ea7dbe2ac80b556
Diffstat (limited to 'lib/inets/examples')
0 files changed, 0 insertions, 0 deletions