]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Run unit tests with PKCS#11-aware OpenSSL
authorMichal Nowak <mnowak@isc.org>
Mon, 23 Sep 2024 18:15:05 +0000 (20:15 +0200)
committerMichal Nowak (GitLab job 7474495) <mnowak@isc.org>
Tue, 26 May 2026 15:01:38 +0000 (15:01 +0000)
(cherry picked from commit 27babd5fa9fc04c3d3c9f5d6ad0c9cd7b487cade)

.gitlab-ci.yml

index 43dcdb53c4d1d60ba54c1cf89992f2772ecc2421..6d5c8908a899da3efb8e8f86c87f61ca938fff9b 100644 (file)
@@ -1521,6 +1521,10 @@ system:gcc:ossl3:trixie:amd64:
       artifacts: true
 
 unit:gcc:ossl3:amd64:
+  # Set up environment variables to run unit tests with PKCS#11-aware OpenSSL
+  variables:
+    OPENSSL_CONF: "/var/tmp/etc/openssl-provider.cnf"
+    SOFTHSM2_CONF: "/var/tmp/softhsm2/softhsm2.conf"
   <<: *debian_trixie_amd64_image
   <<: *unit_test_job
   needs: