upstream: move comment to a better place; suggested by markus@

OpenBSD-Commit-ID: 451ba42a5dc88723a0b8837d4583957f18edbf40
This commit is contained in:
djm@openbsd.org authored and Damien Miller committed 2026-08-08 17:34:53 +10:00
1 parent 72ed5241a8
commit 08d9155d6e
1 file changed
+2 -2
+2 -2
View File
@@ -1,4 +1,4 @@
/* $OpenBSD: sshconnect2.c,v 1.392 2026/08/03 06:50:49 djm Exp $ */
/* $OpenBSD: sshconnect2.c,v 1.393 2026/08/08 07:25:55 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2008 Damien Miller. All rights reserved.
@@ -1869,9 +1869,9 @@ pubkey_prepare(struct ssh *ssh, Authctxt *authctxt)
}
}
ssh_free_identitylist(idlist);
/* append remaining agent keys */
TAILQ_CONCAT(&agent_keys, &agent, next);
order_identities_by_prio(&agent_keys);
/* append remaining agent keys */
TAILQ_CONCAT(preferred, &agent_keys, next);
authctxt->agent_fd = agent_fd;
}