]> 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:40:53 +0000 (08:40 +0200)
commit16b6b6ee2d78d0490fd39c4b41c521486ef5f7c7
tree45f3ed364d7b79b8d69f3eb0e0644c3c39fb35b9
parenta648836d1d150166678fe31f2341bb9260bf8f45
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)

(cherry picked from commit 5a9c90b1e59b2c368876229862fbff29f2bcf006)
util/perl/OpenSSL/Test/Utils.pm