- djm@cvs.openbsd.org 2003/08/25 10:33:33

[sshconnect2.c]
     fprintf->logit to silence login banner with "ssh -q"; ok markus@
This commit is contained in:
Darren Tucker 2003-08-26 12:14:05 +10:00
parent 7858726e8a
commit 08bbb2f69d
2 changed files with 6 additions and 3 deletions

View File

@ -26,6 +26,9 @@
[sftp-int.c]
fix div by zero when listing for filename lengths longer than width.
markus@ ok.
- djm@cvs.openbsd.org 2003/08/25 10:33:33
[sshconnect2.c]
fprintf->logit to silence login banner with "ssh -q"; ok markus@
- (dtucker) [Makefile.in acconfig.h auth-krb5.c auth-pam.c auth-pam.h
configure.ac defines.h gss-serv-krb5.c session.c ssh-gss.h sshconnect1.c
sshconnect2.c] Add Portable GSSAPI support, patch by Simon Wilkinson.
@ -901,4 +904,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.2913 2003/08/26 02:12:56 dtucker Exp $
$Id: ChangeLog,v 1.2914 2003/08/26 02:14:05 dtucker Exp $

View File

@ -23,7 +23,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: sshconnect2.c,v 1.123 2003/08/24 17:36:52 deraadt Exp $");
RCSID("$OpenBSD: sshconnect2.c,v 1.124 2003/08/25 10:33:33 djm Exp $");
#include "openbsd-compat/sys-queue.h"
@ -361,7 +361,7 @@ input_userauth_banner(int type, u_int32_t seq, void *ctxt)
debug3("input_userauth_banner");
msg = packet_get_string(NULL);
lang = packet_get_string(NULL);
fprintf(stderr, "%s", msg);
logit("%s", msg);
xfree(msg);
xfree(lang);
}