]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add x509 memfail test to run_checker_daily
authorNeil Horman <nhorman@openssl.org>
Thu, 2 Oct 2025 17:19:30 +0000 (13:19 -0400)
committerTomas Mraz <tomas@openssl.org>
Wed, 19 Nov 2025 14:52:44 +0000 (15:52 +0100)
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28736)

.github/workflows/run-checker-daily.yml
test/x509_memfail.c

index 29a1f52b4c6e5ae6ca37a0d32f68257c0549a56d..0234ec966103b46ef8895af407f2db44ce3d3321 100644 (file)
@@ -297,7 +297,7 @@ jobs:
     - name: make test
       continue-on-error: true
       run: |
-        make TESTS=test_handshake-memfail test
+        make TESTS="test_handshake-memfail test_x509-memfail" test
 
   enable_brotli_and_asan_ubsan:
     if: github.repository == 'openssl/openssl'
index d906f0961b91807246856de6261e9336bff141a5..a10d33381b1e034a29f7ae72371df8f8965db4a3 100644 (file)
@@ -57,8 +57,8 @@ static int do_x509(int allow_failure)
         goto err;
 
     if (!TEST_int_lt(ASN1_item_verify(ASN1_ITEM_rptr(X509_CINF),
-                                     (X509_ALGOR *)alg, (ASN1_BIT_STRING *)sig,
-                                     NULL, pkey), 0))
+                                      (X509_ALGOR *)alg, (ASN1_BIT_STRING *)sig,
+                                      NULL, pkey), 0))
         goto err;
 
     X509_issuer_name_hash(x509);