]> git.ipfire.org Git - thirdparty/openssl.git/commit
OpenSSL::Test: Avoid running IPv6 related tests if IPv6 was explicitly disabled
authorRichard Levitte <levitte@openssl.org>
Thu, 27 Jun 2024 06:30:28 +0000 (08:30 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 29 Jun 2024 06:36:00 +0000 (08:36 +0200)
commit5a9c90b1e59b2c368876229862fbff29f2bcf006
treefeb14a51fcb8c2b8d122a551ca9280f652bf7591
parent1eb122aa0ca152dc564e61674caf3f11acd85b57
OpenSSL::Test: Avoid running IPv6 related tests if IPv6 was explicitly disabled

It's possible to disable IPv6  explicitly when configuring OpenSSL.  In that
case, IPv6 related tests should be skipped.

This is solved by having OpenSSL::Test::Utils::have_IPv6() check configuration
first, before trying to determine if the machine supports IPv6.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24748)
util/perl/OpenSSL/Test/Utils.pm