]> 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:39:31 +0000 (08:39 +0200)
commit2061d0358e6f647c10b1b2f5376192d416212390
tree0cdecac5f1f8973d1d2fb0a551421976d6776496
parent9b725e7ede0161229f5e1329d17395968e4aa2c8
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