From: Michael Brown Date: Fri, 19 Dec 2025 14:24:27 +0000 (+0000) Subject: [test] Ensure OID-identified algorithms are present for X.509 tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3147b42a16a472886671ebae55f5436263244f8;p=thirdparty%2Fipxe.git [test] Ensure OID-identified algorithms are present for X.509 tests The algorithms required for the X.509 tests are accessed indirectly via their OID-identified algorithms, rather than directly via symbols. Ensure that the required OID-identified algorithm definitions are included regardless of the configuration in config/crypto.h. Signed-off-by: Michael Brown --- diff --git a/src/tests/x509_test.c b/src/tests/x509_test.c index 50eb4d787..e460e48b2 100644 --- a/src/tests/x509_test.c +++ b/src/tests/x509_test.c @@ -1135,8 +1135,7 @@ struct self_test x509_test __self_test = { /* Drag in algorithms required for tests */ REQUIRING_SYMBOL ( x509_test ); -REQUIRE_OBJECT ( rsa ); -REQUIRE_OBJECT ( sha1 ); -REQUIRE_OBJECT ( sha256 ); +REQUIRE_OBJECT ( rsa_sha1 ); +REQUIRE_OBJECT ( rsa_sha256 ); REQUIRE_OBJECT ( ipv4 ); REQUIRE_OBJECT ( ipv6 );