summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@sunet.se>2019-10-22 15:39:20 +0200
committerLinus Nordberg <linus@sunet.se>2019-10-22 15:39:20 +0200
commitcbed76f89cc474a9da6f4429c68de3f51a3bfc21 (patch)
tree4dd9f8708ee71eb62c280fcbf3bb5c160db76387
parent595d5898dfc23859bb3cc3cd0ed21310fdf8aeb4 (diff)
use paths used by (debian) packages
-rw-r--r--tests/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 1f671e5..50d75ba 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -7,8 +7,9 @@
TEXT = "A foo is a bar"
SOFTHSM = /usr/bin/softhsm2-util
-SOFTHSM_PROVIDER = /usr/lib/softhsm/libsofthsm2.so
-P11P_PROVIDER = /usr/local/lib/pkcs11/p11-kit-client.so
+SOFTHSM_PROVIDER = /usr/lib/x86_64-linux-gnu/softhsm/libsofthsm2.so
+P11P_PROVIDER = /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-client.so
+
p11p-softhsm: testsig.hsm.p11p.pem
echo "$(TEXT)" |./do-verify.sh $< $(P11P_PROVIDER) ./openssl.p11p.cnf $(SOFTHSM_PROVIDER)