diff options
author | 2017-05-05 10:42:49 +0000 | |
---|---|---|
committer | 2017-05-05 10:42:49 +0000 | |
commit | d498430521b0c46be899b3167e249b717ad8c596 (patch) | |
tree | b565d83651a84246e882b482ef0ee2c5d65a4f3f /usr.bin/ssh/sshconnect2.c | |
parent | remove superfluous protocol 2 mentions; ok jmc@ (diff) | |
download | wireguard-openbsd-d498430521b0c46be899b3167e249b717ad8c596.tar.xz wireguard-openbsd-d498430521b0c46be899b3167e249b717ad8c596.zip |
more simplification and removal of SSHv1-related code; ok djm@
Diffstat (limited to 'usr.bin/ssh/sshconnect2.c')
-rw-r--r-- | usr.bin/ssh/sshconnect2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c index 41af1329848..1b257f5d3e7 100644 --- a/usr.bin/ssh/sshconnect2.c +++ b/usr.bin/ssh/sshconnect2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect2.c,v 1.257 2017/04/30 23:18:44 djm Exp $ */ +/* $OpenBSD: sshconnect2.c,v 1.258 2017/05/05 10:42:49 naddy Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2008 Damien Miller. All rights reserved. @@ -1337,7 +1337,7 @@ pubkey_prepare(Authctxt *authctxt) if (r != SSH_ERR_AGENT_NOT_PRESENT) debug("%s: ssh_get_authentication_socket: %s", __func__, ssh_err(r)); - } else if ((r = ssh_fetch_identitylist(agent_fd, 2, &idlist)) != 0) { + } else if ((r = ssh_fetch_identitylist(agent_fd, &idlist)) != 0) { if (r != SSH_ERR_AGENT_NO_IDENTITIES) debug("%s: ssh_fetch_identitylist: %s", __func__, ssh_err(r)); |