From 405888dc8b5326fbe1858f779e2826b761fbb1fa Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Mon, 24 Jul 2023 17:17:54 +0200 Subject: [PATCH] Drop PKCS11 testing from "sid", resore it on "clang:bookworm" The gcc:sid:amd64 job was used to test PKCS11 via the OpenSSL engine API but is now designated for future PKCS11 testing via the provider API. The ability to use PKCS11 via engine API in clang:bookworm:amd64 has been restored using only deprecated APIs in OpenSSL 3. (cherry picked from commit cfb06dabfe877f0760ad5bd522bf8c7e2b7ad323) --- .gitlab-ci.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c96c180b2..fabef6d393 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -886,20 +886,13 @@ scan-build: gcc:sid:amd64: variables: CC: gcc - CFLAGS: "${CFLAGS_COMMON} -O3 -DOPENSSL_API_COMPAT=10100" - # For the jemalloc ./configure option, see https://gitlab.isc.org/isc-projects/bind9/-/issues/3444 - EXTRA_CONFIGURE: "--with-libidn2 --without-lmdb --without-jemalloc ${WITH_READLINE}" + CFLAGS: "${CFLAGS_COMMON} -O3" + EXTRA_CONFIGURE: "--with-libidn2 --without-lmdb ${WITH_READLINE}" RUN_MAKE_INSTALL: 1 <<: *debian_sid_amd64_image <<: *build_job system:gcc:sid:amd64: - # Set up environment variables that allow the "keyfromlabel" system test to be run - variables: - DEFAULT_OPENSSL_CONF: "/etc/ssl/openssl.cnf" - OPENSSL_CONF: "/var/tmp/etc/openssl.cnf" - SOFTHSM2_CONF: "/var/tmp/softhsm2/softhsm2.conf" - SOFTHSM2_MODULE: "/usr/lib/softhsm/libsofthsm2.so" <<: *debian_sid_amd64_image <<: *system_test_job needs: @@ -1258,7 +1251,7 @@ clang:bookworm:amd64: variables: BUILD_CONTRIB: 1 CC: ${CLANG} - CFLAGS: "${CFLAGS_COMMON} -Wenum-conversion" + CFLAGS: "${CFLAGS_COMMON} -Wenum-conversion -DOPENSSL_API_COMPAT=10100" # See https://gitlab.isc.org/isc-projects/bind9/-/issues/3444 EXTRA_CONFIGURE: "--without-jemalloc" RUN_MAKE_INSTALL: 1