From b9aa0a0baa33efb06a773de18f2b45c12c15cbaf Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 8 Jul 2003 22:59:59 +1000 Subject: - (dtucker) [auth-passwd.c auth.c session.c sshd.c port-aix.c port-aix.h] Convert aixloginmsg into platform-independant Buffer loginmsg. --- sshd.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sshd.c') diff --git a/sshd.c b/sshd.c index fafe0c66..14cd4a27 100644 --- a/sshd.c +++ b/sshd.c @@ -201,6 +201,9 @@ int startup_pipe; /* in child */ int use_privsep; struct monitor *pmonitor; +/* message to be displayed after login */ +Buffer loginmsg; + /* Prototypes for various functions defined later in this file. */ void destroy_sensitive_data(void); void demote_sensitive_data(void); @@ -1501,6 +1504,9 @@ main(int ac, char **av) packet_set_nonblocking(); + /* prepare buffers to collect authentication messages */ + buffer_init(&loginmsg); + if (use_privsep) if ((authctxt = privsep_preauth()) != NULL) goto authenticated; -- cgit v1.2.1