diff options
-rw-r--r-- | regress/agent-pkcs11.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/regress/agent-pkcs11.sh b/regress/agent-pkcs11.sh index a57dad6ee..5dd771263 100644 --- a/regress/agent-pkcs11.sh +++ b/regress/agent-pkcs11.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: agent-pkcs11.sh,v 1.5 2019/01/20 23:26:44 djm Exp $ | 1 | # $OpenBSD: agent-pkcs11.sh,v 1.6 2019/01/21 09:13:41 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" |
@@ -73,10 +73,8 @@ openssl genpkey \ | |||
73 | openssl pkcs8 -nocrypt -in $EC |\ | 73 | openssl pkcs8 -nocrypt -in $EC |\ |
74 | softhsm2-util --slot "$slot" --label 02 --id 02 --pin "$TEST_SSH_PIN" --import /dev/stdin | 74 | softhsm2-util --slot "$slot" --label 02 --id 02 --pin "$TEST_SSH_PIN" --import /dev/stdin |
75 | 75 | ||
76 | LIBCRYPTO=${OBJ}/../../../../lib/libcrypto/obj | ||
77 | |||
78 | trace "start agent" | 76 | trace "start agent" |
79 | eval `LD_LIBRARY_PATH=$LIBCRYPTO ${SSHAGENT} -s` > /dev/null | 77 | eval `${SSHAGENT} -s` > /dev/null |
80 | r=$? | 78 | r=$? |
81 | if [ $r -ne 0 ]; then | 79 | if [ $r -ne 0 ]; then |
82 | fail "could not start ssh-agent: exit code $r" | 80 | fail "could not start ssh-agent: exit code $r" |