Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/crypto/external/bsd/openssh/dist/auth2.c,v rcsdiff: /ftp/cvs/cvsroot/src/crypto/external/bsd/openssh/dist/auth2.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.20 retrieving revision 1.21 diff -u -p -r1.20 -r1.21 --- src/crypto/external/bsd/openssh/dist/auth2.c 2019/10/12 18:32:22 1.20 +++ src/crypto/external/bsd/openssh/dist/auth2.c 2019/12/07 16:32:22 1.21 @@ -1,4 +1,4 @@ -/* $NetBSD: auth2.c,v 1.20 2019/10/12 18:32:22 christos Exp $ */ +/* $NetBSD: auth2.c,v 1.21 2019/12/07 16:32:22 christos Exp $ */ /* $OpenBSD: auth2.c,v 1.157 2019/09/06 04:53:27 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. @@ -25,7 +25,7 @@ */ #include "includes.h" -__RCSID("$NetBSD: auth2.c,v 1.20 2019/10/12 18:32:22 christos Exp $"); +__RCSID("$NetBSD: auth2.c,v 1.21 2019/12/07 16:32:22 christos Exp $"); #include #include @@ -440,8 +440,10 @@ userauth_finish(struct ssh *ssh, int aut } else { /* Allow initial try of "none" auth without failure penalty */ if (!partial && !authctxt->server_caused_failure && - (authctxt->attempt > 1 || strcmp(method, "none") != 0)) + (authctxt->attempt > 1 || strcmp(method, "none") != 0)) { authctxt->failures++; + pfilter_notify(1); + } if (authctxt->failures >= options.max_authtries) auth_maxtries_exceeded(ssh); methods = authmethods_get(authctxt);