summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh/agent-pkcs11.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2019-01-21 09:13:42 +0000
committerDamien Miller <djm@cvs.openbsd.org>2019-01-21 09:13:42 +0000
commit68253d316fcf048557e7415673f6d6029a594e3c (patch)
treeadeb9ac4b9ab987efe5756f0202dd126f4584d88 /regress/usr.bin/ssh/agent-pkcs11.sh
parent60f53a3718f05a44bd78836dcfb5476afea142a3 (diff)
remove hack to use non-system libcrypto
Diffstat (limited to 'regress/usr.bin/ssh/agent-pkcs11.sh')
-rw-r--r--regress/usr.bin/ssh/agent-pkcs11.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/regress/usr.bin/ssh/agent-pkcs11.sh b/regress/usr.bin/ssh/agent-pkcs11.sh
index ab429768eaa..591b7b34932 100644
--- a/regress/usr.bin/ssh/agent-pkcs11.sh
+++ b/regress/usr.bin/ssh/agent-pkcs11.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: agent-pkcs11.sh,v 1.5 2019/01/20 23:26:44 djm Exp $
+# $OpenBSD: agent-pkcs11.sh,v 1.6 2019/01/21 09:13:41 djm Exp $
# Placed in the Public Domain.
tid="pkcs11 agent test"
@@ -58,10 +58,8 @@ openssl genpkey \
openssl pkcs8 -nocrypt -in $EC |\
softhsm2-util --slot "$slot" --label 02 --id 02 --pin "$TEST_SSH_PIN" --import /dev/stdin
-LIBCRYPTO=${OBJ}/../../../../lib/libcrypto/obj
-
trace "start agent"
-eval `LD_LIBRARY_PATH=$LIBCRYPTO ${SSHAGENT} -s` > /dev/null
+eval `${SSHAGENT} -s` > /dev/null
r=$?
if [ $r -ne 0 ]; then
fail "could not start ssh-agent: exit code $r"