diff options
author | 2004-04-08 16:08:21 +0000 | |
---|---|---|
committer | 2004-04-08 16:08:21 +0000 | |
commit | 2840375371c19999348c7a64f30e42030a12e648 (patch) | |
tree | fa76cd7a79cb29044502ba6b1f328f2074071671 /usr.bin/ssh/sshconnect2.c | |
parent | sync with reality, mostly from jmc (diff) | |
download | wireguard-openbsd-2840375371c19999348c7a64f30e42030a12e648.tar.xz wireguard-openbsd-2840375371c19999348c7a64f30e42030a12e648.zip |
swap the last two parameters to TAILQ_FOREACH_REVERSE. matches what FreeBSD
and NetBSD do.
ok millert@ mcbride@ markus@ ho@, checked to not affect ports by naddy@
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 c20e02ab524..afee111a925 100644 --- a/usr.bin/ssh/sshconnect2.c +++ b/usr.bin/ssh/sshconnect2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect2.c,v 1.135 2004/03/05 10:53:58 markus Exp $"); +RCSID("$OpenBSD: sshconnect2.c,v 1.136 2004/04/08 16:08:21 henning Exp $"); #include "ssh.h" #include "ssh2.h" @@ -456,7 +456,7 @@ input_userauth_pk_ok(int type, u_int32_t seq, void *ctxt) * moved to the end of the queue. this also avoids confusion by * duplicate keys */ - TAILQ_FOREACH_REVERSE(id, &authctxt->keys, next, idlist) { + TAILQ_FOREACH_REVERSE(id, &authctxt->keys, idlist, next) { if (key_equal(key, id->key)) { sent = sign_and_send_pubkey(authctxt, id); break; |