summaryrefslogtreecommitdiff
path: root/tests/suite/testpkcs11.softhsm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite/testpkcs11.softhsm')
-rwxr-xr-xtests/suite/testpkcs11.softhsm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/suite/testpkcs11.softhsm b/tests/suite/testpkcs11.softhsm
index 4f7f9f10d8..d79a8528ec 100755
--- a/tests/suite/testpkcs11.softhsm
+++ b/tests/suite/testpkcs11.softhsm
@@ -59,6 +59,7 @@ init_card () {
mkdir -p ./softhsm-testpkcs11.$$.tmp
echo "objectstore.backend = file" > "${SOFTHSM2_CONF}"
echo "directories.tokendir = ./softhsm-testpkcs11.$$.tmp" >> "${SOFTHSM2_CONF}"
+
else
rm -rf ./softhsm-testpkcs11.$$.tmp
echo "0:./softhsm-testpkcs11.$$.tmp" > "${SOFTHSM_CONF}"