=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/monitor.c,v retrieving revision 1.149 retrieving revision 1.150 diff -u -r1.149 -r1.150 --- src/usr.bin/ssh/monitor.c 2015/05/04 06:10:48 1.149 +++ src/usr.bin/ssh/monitor.c 2015/06/22 23:42:16 1.150 @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.149 2015/05/04 06:10:48 djm Exp $ */ +/* $OpenBSD: monitor.c,v 1.150 2015/06/22 23:42:16 djm Exp $ */ /* * Copyright 2002 Niels Provos * Copyright 2002 Markus Friedl @@ -311,7 +311,7 @@ if (ent->flags & (MON_AUTHDECIDE|MON_ALOG)) { auth_log(authctxt, authenticated, partial, auth_method, auth_submethod); - if (!authenticated) + if (!partial && !authenticated) authctxt->failures++; } }