[openssh-commits] [openssh] 07/16: upstream commit
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu Jan 15 22:09:12 EST 2015
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 55358f0b4e0b83bc0df81c5f854c91b11e0bb4dc
Author: djm at openbsd.org <djm at openbsd.org>
Date: Mon Jan 12 11:46:32 2015 +0000
upstream commit
fatal if soft-PKCS11 library is missing rather (rather
than continue and fail with a more cryptic error)
---
regress/agent-pkcs11.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/regress/agent-pkcs11.sh b/regress/agent-pkcs11.sh
index db33ab3..3aa20c8 100644
--- a/regress/agent-pkcs11.sh
+++ b/regress/agent-pkcs11.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: agent-pkcs11.sh,v 1.1 2010/02/08 10:52:47 markus Exp $
+# $OpenBSD: agent-pkcs11.sh,v 1.2 2015/01/12 11:46:32 djm Exp $
# Placed in the Public Domain.
tid="pkcs11 agent test"
@@ -6,6 +6,8 @@ tid="pkcs11 agent test"
TEST_SSH_PIN=""
TEST_SSH_PKCS11=/usr/local/lib/soft-pkcs11.so.0.0
+test -f "$TEST_SSH_PKCS11" || fatal "$TEST_SSH_PKCS11 does not exist"
+
# setup environment for soft-pkcs11 token
SOFTPKCS11RC=$OBJ/pkcs11.info
export SOFTPKCS11RC
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list