From f3147b42a16a472886671ebae55f5436263244f8 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 19 Dec 2025 14:24:27 +0000 Subject: [PATCH] [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 --- src/tests/x509_test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 );