mirror of git://anongit.mindrot.org/openssh.git
- (djm) OpenBSD CVS Sync
- henning@cvs.openbsd.org 2004/04/08 16:08:21 [sshconnect2.c] 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@
This commit is contained in:
parent
bddc2b0179
commit
0b51a52a10
|
@ -1,3 +1,10 @@
|
||||||
|
20040420
|
||||||
|
- (djm) OpenBSD CVS Sync
|
||||||
|
- henning@cvs.openbsd.org 2004/04/08 16:08:21
|
||||||
|
[sshconnect2.c]
|
||||||
|
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@
|
||||||
|
|
||||||
20040419
|
20040419
|
||||||
- (dtucker) OpenBSD CVS Sync
|
- (dtucker) OpenBSD CVS Sync
|
||||||
- dtucker@cvs.openbsd.org 2004/02/29 22:04:45
|
- dtucker@cvs.openbsd.org 2004/02/29 22:04:45
|
||||||
|
@ -1001,4 +1008,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3321 2004/04/19 13:50:16 dtucker Exp $
|
$Id: ChangeLog,v 1.3322 2004/04/20 10:07:19 djm Exp $
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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 "openbsd-compat/sys-queue.h"
|
#include "openbsd-compat/sys-queue.h"
|
||||||
|
|
||||||
|
@ -458,7 +458,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
|
* moved to the end of the queue. this also avoids confusion by
|
||||||
* duplicate keys
|
* duplicate keys
|
||||||
*/
|
*/
|
||||||
TAILQ_FOREACH_REVERSE(id, &authctxt->keys, next, idlist) {
|
TAILQ_FOREACH_REVERSE(id, &authctxt->keys, idlist, next) {
|
||||||
if (key_equal(key, id->key)) {
|
if (key_equal(key, id->key)) {
|
||||||
sent = sign_and_send_pubkey(authctxt, id);
|
sent = sign_and_send_pubkey(authctxt, id);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue