diff options
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index c261dfd18..447642895 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: sshconnect2.c,v 1.135 2004/03/05 10:53:58 markus Exp $"); | 26 | RCSID("$OpenBSD: sshconnect2.c,v 1.136 2004/04/08 16:08:21 henning Exp $"); |
27 | 27 | ||
28 | #include "openbsd-compat/sys-queue.h" | 28 | #include "openbsd-compat/sys-queue.h" |
29 | 29 | ||
@@ -458,7 +458,7 @@ input_userauth_pk_ok(int type, u_int32_t seq, void *ctxt) | |||
458 | * moved to the end of the queue. this also avoids confusion by | 458 | * moved to the end of the queue. this also avoids confusion by |
459 | * duplicate keys | 459 | * duplicate keys |
460 | */ | 460 | */ |
461 | TAILQ_FOREACH_REVERSE(id, &authctxt->keys, next, idlist) { | 461 | TAILQ_FOREACH_REVERSE(id, &authctxt->keys, idlist, next) { |
462 | if (key_equal(key, id->key)) { | 462 | if (key_equal(key, id->key)) { |
463 | sent = sign_and_send_pubkey(authctxt, id); | 463 | sent = sign_and_send_pubkey(authctxt, id); |
464 | break; | 464 | break; |