summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-08-26 12:14:05 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-08-26 12:14:05 +1000
commit08bbb2f69d83c687f5aaea053a30dac3c3ef1cd3 (patch)
treeaffcdcf8a5583df3173460cab99e747f16439cfa
parent7858726e8a11574f01a888761b60377530c918d2 (diff)
- djm@cvs.openbsd.org 2003/08/25 10:33:33
[sshconnect2.c] fprintf->logit to silence login banner with "ssh -q"; ok markus@
-rw-r--r--ChangeLog5
-rw-r--r--sshconnect2.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index cb0b2db35..ffb9c997c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,9 @@
26 [sftp-int.c] 26 [sftp-int.c]
27 fix div by zero when listing for filename lengths longer than width. 27 fix div by zero when listing for filename lengths longer than width.
28 markus@ ok. 28 markus@ ok.
29 - djm@cvs.openbsd.org 2003/08/25 10:33:33
30 [sshconnect2.c]
31 fprintf->logit to silence login banner with "ssh -q"; ok markus@
29 - (dtucker) [Makefile.in acconfig.h auth-krb5.c auth-pam.c auth-pam.h 32 - (dtucker) [Makefile.in acconfig.h auth-krb5.c auth-pam.c auth-pam.h
30 configure.ac defines.h gss-serv-krb5.c session.c ssh-gss.h sshconnect1.c 33 configure.ac defines.h gss-serv-krb5.c session.c ssh-gss.h sshconnect1.c
31 sshconnect2.c] Add Portable GSSAPI support, patch by Simon Wilkinson. 34 sshconnect2.c] Add Portable GSSAPI support, patch by Simon Wilkinson.
@@ -901,4 +904,4 @@
901 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. 904 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
902 Report from murple@murple.net, diagnosis from dtucker@zip.com.au 905 Report from murple@murple.net, diagnosis from dtucker@zip.com.au
903 906
904$Id: ChangeLog,v 1.2913 2003/08/26 02:12:56 dtucker Exp $ 907$Id: ChangeLog,v 1.2914 2003/08/26 02:14:05 dtucker Exp $
diff --git a/sshconnect2.c b/sshconnect2.c
index 22795395e..933c223ec 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: sshconnect2.c,v 1.123 2003/08/24 17:36:52 deraadt Exp $"); 26RCSID("$OpenBSD: sshconnect2.c,v 1.124 2003/08/25 10:33:33 djm Exp $");
27 27
28#include "openbsd-compat/sys-queue.h" 28#include "openbsd-compat/sys-queue.h"
29 29
@@ -361,7 +361,7 @@ input_userauth_banner(int type, u_int32_t seq, void *ctxt)
361 debug3("input_userauth_banner"); 361 debug3("input_userauth_banner");
362 msg = packet_get_string(NULL); 362 msg = packet_get_string(NULL);
363 lang = packet_get_string(NULL); 363 lang = packet_get_string(NULL);
364 fprintf(stderr, "%s", msg); 364 logit("%s", msg);
365 xfree(msg); 365 xfree(msg);
366 xfree(lang); 366 xfree(lang);
367} 367}