diff options
Diffstat (limited to 'regress/agent-pkcs11.sh')
-rw-r--r-- | regress/agent-pkcs11.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/regress/agent-pkcs11.sh b/regress/agent-pkcs11.sh index 34662871f..ab429768e 100644 --- a/regress/agent-pkcs11.sh +++ b/regress/agent-pkcs11.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: agent-pkcs11.sh,v 1.4 2019/01/20 23:25:25 djm Exp $ | 1 | # $OpenBSD: agent-pkcs11.sh,v 1.5 2019/01/20 23:26:44 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="pkcs11 agent test" | 4 | tid="pkcs11 agent test" |
@@ -6,6 +6,10 @@ tid="pkcs11 agent test" | |||
6 | TEST_SSH_PIN=1234 | 6 | TEST_SSH_PIN=1234 |
7 | TEST_SSH_SOPIN=12345678 | 7 | TEST_SSH_SOPIN=12345678 |
8 | TEST_SSH_PKCS11=/usr/local/lib/softhsm/libsofthsm2.so | 8 | TEST_SSH_PKCS11=/usr/local/lib/softhsm/libsofthsm2.so |
9 | if [ "x$TEST_SSH_SSHPKCS11HELPER" != "x" ]; then | ||
10 | SSH_PKCS11_HELPER="${TEST_SSH_SSHPKCS11HELPER}" | ||
11 | export SSH_PKCS11_HELPER | ||
12 | fi | ||
9 | 13 | ||
10 | test -f "$TEST_SSH_PKCS11" || fatal "$TEST_SSH_PKCS11 does not exist" | 14 | test -f "$TEST_SSH_PKCS11" || fatal "$TEST_SSH_PKCS11 does not exist" |
11 | 15 | ||