]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ci: exercise unsafe OpenSSL backend
authorPatrick Steinhardt <ps@pks.im>
Mon, 30 Dec 2024 14:24:03 +0000 (15:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Dec 2024 14:46:30 +0000 (06:46 -0800)
In the preceding commit we have fixed a segfault when using an unsafe
SHA1 backend that is different from the safe one. This segfault only
went by unnoticed because we never set up an unsafe backend in our CI
systems. Fix this ommission by setting `OPENSSL_SHA1_UNSAFE` in our
TEST-vars job.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/run-build-and-tests.sh

index 2e28d02b20f2469afddc4e04fdbd18465babb1ef..e90b33800148dcb28f933638f2f6c24f7d62e72a 100755 (executable)
@@ -17,6 +17,7 @@ linux-gcc)
        export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
        ;;
 linux-TEST-vars)
+       export OPENSSL_SHA1_UNSAFE=YesPlease
        export GIT_TEST_SPLIT_INDEX=yes
        export GIT_TEST_MERGE_ALGORITHM=recursive
        export GIT_TEST_FULL_IN_PACK_ARRAY=true