The unified diff between revisions [12b2f59d..] and [d82c25da..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'svr-auth.c'
#
#
# patch "svr-auth.c"
# from [fab10976a9ca57a482a384cedd794de7f0247e40]
# to [dbd28ab1fff172ca3f2e4cb756ec53b74b48b6b3]
#
============================================================
--- svr-auth.c fab10976a9ca57a482a384cedd794de7f0247e40
+++ svr-auth.c dbd28ab1fff172ca3f2e4cb756ec53b74b48b6b3
@@ -315,14 +315,15 @@ void send_msg_userauth_failure(int parti
buf_setpos(typebuf, 0);
buf_putstring(ses.writepayload, buf_getptr(typebuf, typebuf->len),
typebuf->len);
+
+ TRACE(("auth fail: methods %d, '%s'", ses.authstate.authtypes,
+ buf_getptr(typebuf, typebuf->len)));
+
buf_free(typebuf);
buf_putbyte(ses.writepayload, partial ? 1 : 0);
encrypt_packet();
- TRACE(("auth fail: methods %d, '%s'", ses.authstate.authtypes,
- buf_getptr(typebuf, typebuf->len)));
-
if (incrfail) {
usleep(300000); /* XXX improve this */
ses.authstate.failcount++;