From: Neil Horman Date: Thu, 2 Oct 2025 17:19:30 +0000 (-0400) Subject: Add x509 memfail test to run_checker_daily X-Git-Tag: 4.0-PRE-CLANG-FORMAT-WEBKIT~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7916bccc77bbc33f20c31da80f9f2f108c9bd541;p=thirdparty%2Fopenssl.git Add x509 memfail test to run_checker_daily Reviewed-by: Saša Nedvědický Reviewed-by: Norbert Pocs (Merged from https://github.com/openssl/openssl/pull/28736) --- diff --git a/.github/workflows/run-checker-daily.yml b/.github/workflows/run-checker-daily.yml index 29a1f52b4c6..0234ec96610 100644 --- a/.github/workflows/run-checker-daily.yml +++ b/.github/workflows/run-checker-daily.yml @@ -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' diff --git a/test/x509_memfail.c b/test/x509_memfail.c index d906f0961b9..a10d33381b1 100644 --- a/test/x509_memfail.c +++ b/test/x509_memfail.c @@ -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);