[pkg-opensc-commit] [libp11] 34/67: Also try to find SoftHSM2 in /opt/local

Eric Dorland eric at moszumanska.debian.org
Sat Jan 30 05:34:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository libp11.

commit 64a71fda41f07ef5a4b6de47a0326b562c3e3fd1
Author: Michał Trojnara <Michal.Trojnara at stunnel.org>
Date:   Mon Jan 4 16:01:51 2016 +0100

    Also try to find SoftHSM2 in /opt/local
---
 tests/common.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/common.sh b/tests/common.sh
index d51e8df..0b3ca34 100755
--- a/tests/common.sh
+++ b/tests/common.sh
@@ -44,6 +44,11 @@ init_card () {
 		SOFTHSM_TOOL="/usr/local/bin/softhsm2-util"
 	fi
 
+	if test -x "/opt/local/bin/softhsm2-util"; then
+		export SOFTHSM2_CONF="$outdir/softhsm-testpkcs11.config"
+		SOFTHSM_TOOL="/opt/local/bin/softhsm2-util"
+	fi
+
 	if test -x "/usr/bin/softhsm2-util"; then
 		export SOFTHSM2_CONF="$outdir/softhsm-testpkcs11.config"
 		SOFTHSM_TOOL="/usr/bin/softhsm2-util"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git



More information about the pkg-opensc-commit mailing list