summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-08-30 11:08:33 +1000
committerDamien Miller <djm@mindrot.org>2006-08-30 11:08:33 +1000
commit2125887a940f5ec60f2e5699aa77ca3e431de635 (patch)
treef1080da9b249f7994ff05b5a4902b73dc0c042ff
parent76758b6423a2567b07927139d7d5538f14cb331b (diff)
- dtucker@cvs.openbsd.org 2006/08/30 00:06:51
[sshconnect2.c] Fix regression where SSH2 banner is printed at loglevels ERROR and FATAL where previously it weren't. bz #1221, found by Dean Kopesky, ok djm@
-rw-r--r--ChangeLog6
-rw-r--r--sshconnect2.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a194c1ee1..ab40e629b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,10 @@
19 missing, by checking whether or not kerberos allocated us a context 19 missing, by checking whether or not kerberos allocated us a context
20 before attempting to free it. Patch from Simon Wilkinson, tested by 20 before attempting to free it. Patch from Simon Wilkinson, tested by
21 biorn@, ok djm@ 21 biorn@, ok djm@
22 - dtucker@cvs.openbsd.org 2006/08/30 00:06:51
23 [sshconnect2.c]
24 Fix regression where SSH2 banner is printed at loglevels ERROR and FATAL
25 where previously it weren't. bz #1221, found by Dean Kopesky, ok djm@
22 26
2320060824 2720060824
24 - (dtucker) [openbsd-compat/basename.c] Include errno.h. 28 - (dtucker) [openbsd-compat/basename.c] Include errno.h.
@@ -5321,4 +5325,4 @@
5321 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 5325 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
5322 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 5326 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
5323 5327
5324$Id: ChangeLog,v 1.4514 2006/08/30 01:08:04 djm Exp $ 5328$Id: ChangeLog,v 1.4515 2006/08/30 01:08:33 djm Exp $
diff --git a/sshconnect2.c b/sshconnect2.c
index 8b2e633c0..5846c8e9c 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect2.c,v 1.161 2006/08/18 13:54:54 djm Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.162 2006/08/30 00:06:51 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -377,7 +377,7 @@ input_userauth_banner(int type, u_int32_t seq, void *ctxt)
377 debug3("input_userauth_banner"); 377 debug3("input_userauth_banner");
378 msg = packet_get_string(NULL); 378 msg = packet_get_string(NULL);
379 lang = packet_get_string(NULL); 379 lang = packet_get_string(NULL);
380 if (options.log_level > SYSLOG_LEVEL_QUIET) 380 if (options.log_level >= SYSLOG_LEVEL_INFO)
381 fprintf(stderr, "%s", msg); 381 fprintf(stderr, "%s", msg);
382 xfree(msg); 382 xfree(msg);
383 xfree(lang); 383 xfree(lang);