[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 <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-12-19 14:24:27 +00:00
parent aa247f6e38
commit f3147b42a1

View File

@@ -1135,8 +1135,7 @@ struct self_test x509_test __self_test = {
/* Drag in algorithms required for tests */ /* Drag in algorithms required for tests */
REQUIRING_SYMBOL ( x509_test ); REQUIRING_SYMBOL ( x509_test );
REQUIRE_OBJECT ( rsa ); REQUIRE_OBJECT ( rsa_sha1 );
REQUIRE_OBJECT ( sha1 ); REQUIRE_OBJECT ( rsa_sha256 );
REQUIRE_OBJECT ( sha256 );
REQUIRE_OBJECT ( ipv4 ); REQUIRE_OBJECT ( ipv4 );
REQUIRE_OBJECT ( ipv6 ); REQUIRE_OBJECT ( ipv6 );