summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-10-12 17:42:15 +0200
committerDaiki Ueno <ueno@gnu.org>2020-11-04 08:55:00 +0100
commit297a31ae2a0e9b5f85e788f409333d4684e1bc80 (patch)
treec0883df2adeb5eebabe8857bf43a062906ed33b1
parent4e65eebb6e324bea9ef6c73c758c8b9462d7f878 (diff)
downloadgnutls-297a31ae2a0e9b5f85e788f409333d4684e1bc80.tar.gz
.gitlab-ci.yml: avoid using fipshmac
The new fipshmac command provided by libkcapi requires NETLINK_CRYPTO, which is not enabled on gitlab CI. Signed-off-by: Daiki Ueno <ueno@gnu.org>
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4ef7e5720a..315ba05ca7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -211,7 +211,10 @@ FIPS140-2.Fedora.x86_64:
- make -j$BUILDJOBS
- make -j$CHECKJOBS check
- mkdir -p lib/.libs/fipscheck
- - fipshmac -d lib/.libs/fipscheck/ -s .hmac lib/.libs/libgnutls.so*
+ - |
+ for i in lib/.libs/libgnutls.so*; do
+ openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP -hex $i | cut -f 2 -d ' ' > lib/.libs/fipscheck/$(basename $i).hmac
+ done
- GNUTLS_FORCE_FIPS_MODE=1 make -j$CHECKJOBS check
- cd ..
tags: