Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist don't call pfilter_notify()...



details:   https://anonhg.NetBSD.org/src/rev/ffe09879cf30
branches:  trunk
changeset: 967394:ffe09879cf30
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Dec 07 16:25:36 2019 +0000

description:
don't call pfilter_notify() from authz_log(). Logging should not have side
effects (kim@)

diffstat:

 crypto/external/bsd/openssh/dist/auth.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r ac8ee7a0b715 -r ffe09879cf30 crypto/external/bsd/openssh/dist/auth.c
--- a/crypto/external/bsd/openssh/dist/auth.c   Sat Dec 07 16:25:05 2019 +0000
+++ b/crypto/external/bsd/openssh/dist/auth.c   Sat Dec 07 16:25:36 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auth.c,v 1.25 2019/10/12 18:32:22 christos Exp $       */
+/*     $NetBSD: auth.c,v 1.26 2019/12/07 16:25:36 christos Exp $       */
 /* $OpenBSD: auth.c,v 1.141 2019/10/02 00:42:30 djm Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
@@ -25,7 +25,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: auth.c,v 1.25 2019/10/12 18:32:22 christos Exp $");
+__RCSID("$NetBSD: auth.c,v 1.26 2019/12/07 16:25:36 christos Exp $");
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/socket.h>
@@ -408,8 +408,6 @@
            extra != NULL ? extra : "");
 
        free(extra);
-       if (!authctxt->postponed)
-               pfilter_notify(!authenticated);
 }
 
 void



Home | Main Index | Thread Index | Old Index