]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[test] Ensure OID-identified algorithms are present for X.509 tests
authorMichael Brown <mcb30@ipxe.org>
Fri, 19 Dec 2025 14:24:27 +0000 (14:24 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 19 Dec 2025 14:24:27 +0000 (14:24 +0000)
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>
src/tests/x509_test.c

index 50eb4d7871a194584015b294ebc995d2fe06001f..e460e48b2fe16e904dc266635a6ea3dd26ef62a7 100644 (file)
@@ -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 );