summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-01-18 13:17:46 +0100
committerAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-03-04 13:22:07 +0100
commit59f3b8798ec4d31c737395b752de6e1464c5d9e6 (patch)
treef394631e6ac6e08a90f6fd29dbbf3c0253728e3c
parentabd54456e67dcf7e4ff97c5db367261a0c17e3b4 (diff)
downloadgnutls-59f3b8798ec4d31c737395b752de6e1464c5d9e6.tar.gz
.gitlab-ci.yml: Test FIPS HMAC self-test
This enables the integrity self-tests in FIPS140 test build. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9da0e870c0..55d6386d71 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -172,8 +172,8 @@ FIPS140-2.Fedora.x86_64:
- mkdir -p build && cd build &&
dash ../configure --disable-gcc-warnings --cache-file ../cache/config.cache --disable-non-suiteb-curves --enable-fips140-mode --disable-doc --disable-full-test-suite --disable-guile
- make -j$(nproc)
- - GNUTLS_SKIP_FIPS_INTEGRITY_CHECKS=1 GNUTLS_FORCE_FIPS_MODE=1 make check -j$(nproc)
- - make check -j$(nproc)
+ - mkdir -p lib/.libs/fipscheck && fipshmac -d lib/.libs/fipscheck/ -s .hmac lib/.libs/libgnutls.so*
+ - GNUTLS_FORCE_FIPS_MODE=1 make check -j$(nproc)
- cd ..
tags:
- shared