[openssh-commits] [openssh] 03/03: upstream: don't consult dlopen whitelist for internal security key
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Nov 15 15:14:15 AEDT 2019
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit ab3600665387ae34785498558c4409e27f495b0b
Author: djm at openbsd.org <djm at openbsd.org>
Date: Fri Nov 15 04:12:32 2019 +0000
upstream: don't consult dlopen whitelist for internal security key
provider; spotted by dtucker@
OpenBSD-Commit-ID: bfe5fbd17e4ff95dd85b9212181652b54444192e
---
ssh-agent.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ssh-agent.c b/ssh-agent.c
index 97d08423..702dec17 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.244 2019/11/15 02:38:07 djm Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.245 2019/11/15 04:12:32 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -646,7 +646,9 @@ process_add_identity(SocketEntry *e)
free(sk_provider);
goto send;
}
- if (match_pattern_list(sk_provider,
+ if (strcasecmp(sk_provider, "internal") == 0)
+ debug("%s: internal provider", __func__);
+ else if (match_pattern_list(sk_provider,
provider_whitelist, 0) != 1) {
error("Refusing add key: provider %s not whitelisted",
sk_provider);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list