- (djm) OpenBSD CVS Sync
- markus@cvs.openbsd.org 2013/03/05 20:16:09 [sshconnect2.c] reset pubkey order on partial success; ok djm@
This commit is contained in:
parent
6332da2ae8
commit
62e9c4f9b6
|
@ -2,6 +2,10 @@
|
||||||
- (djm) [auth.c configure.ac misc.c monitor.c monitor_wrap.c] Support
|
- (djm) [auth.c configure.ac misc.c monitor.c monitor_wrap.c] Support
|
||||||
platforms, such as Android, that lack struct passwd.pw_gecos. Report
|
platforms, such as Android, that lack struct passwd.pw_gecos. Report
|
||||||
and initial patch from Nathan Osman bz#2086; feedback tim@ ok dtucker@
|
and initial patch from Nathan Osman bz#2086; feedback tim@ ok dtucker@
|
||||||
|
- (djm) OpenBSD CVS Sync
|
||||||
|
- markus@cvs.openbsd.org 2013/03/05 20:16:09
|
||||||
|
[sshconnect2.c]
|
||||||
|
reset pubkey order on partial success; ok djm@
|
||||||
|
|
||||||
20130418
|
20130418
|
||||||
- (djm) [config.guess config.sub] Update to last versions before they switch
|
- (djm) [config.guess config.sub] Update to last versions before they switch
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: sshconnect2.c,v 1.192 2013/02/17 23:16:57 dtucker Exp $ */
|
/* $OpenBSD: sshconnect2.c,v 1.193 2013/03/05 20:16:09 markus Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
||||||
* Copyright (c) 2008 Damien Miller. All rights reserved.
|
* Copyright (c) 2008 Damien Miller. All rights reserved.
|
||||||
|
@ -540,8 +540,12 @@ input_userauth_failure(int type, u_int32_t seq, void *ctxt)
|
||||||
partial = packet_get_char();
|
partial = packet_get_char();
|
||||||
packet_check_eom();
|
packet_check_eom();
|
||||||
|
|
||||||
if (partial != 0)
|
if (partial != 0) {
|
||||||
logit("Authenticated with partial success.");
|
logit("Authenticated with partial success.");
|
||||||
|
/* reset state */
|
||||||
|
pubkey_cleanup(authctxt);
|
||||||
|
pubkey_prepare(authctxt);
|
||||||
|
}
|
||||||
debug("Authentications that can continue: %s", authlist);
|
debug("Authentications that can continue: %s", authlist);
|
||||||
|
|
||||||
userauth(authctxt, authlist);
|
userauth(authctxt, authlist);
|
||||||
|
|
Loading…
Reference in New Issue