From 8404a048b7c58eb903717e09cffaa7735f7d8520 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 4 Mar 2025 13:29:28 +0900 Subject: [PATCH 01/14] tests: Allow tests with !USE_RSA. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * tests/t-fips-service-ind.c [USE_RSA] (check_pk_s_v): Ifdef-out. -- Signed-off-by: NIIBE Yutaka Signed-off-by: Lucas Mülling --- tests/t-fips-service-ind.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/t-fips-service-ind.c b/tests/t-fips-service-ind.c index 99b84c8f..a082b258 100644 --- a/tests/t-fips-service-ind.c +++ b/tests/t-fips-service-ind.c @@ -290,7 +290,9 @@ check_pk_s_v (int reject) " 00112233445566778899AABBCCDDEEFF000102030405060708090A0B0C0D0E0F" " 00112233445566778899AABBCCDDEEFF000102030405060708090A0B0C0D0E0F#))", 0 - }, + } +#if USE_RSA + , { /* RSA with compliant hash for signing */ "(private-key" " (rsa" @@ -559,6 +561,7 @@ check_pk_s_v (int reject) " (hash sha1 #11223344556677889900AABBCCDDEEFF10203040#))\n", 1 } +#endif /* USE_RSA */ }; int tvidx; gpg_error_t err; -- 2.49.0