summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sshd.c b/sshd.c
index fafe0c66d..14cd4a27f 100644
--- a/sshd.c
+++ b/sshd.c
@@ -201,6 +201,9 @@ int startup_pipe; /* in child */
201int use_privsep; 201int use_privsep;
202struct monitor *pmonitor; 202struct monitor *pmonitor;
203 203
204/* message to be displayed after login */
205Buffer loginmsg;
206
204/* Prototypes for various functions defined later in this file. */ 207/* Prototypes for various functions defined later in this file. */
205void destroy_sensitive_data(void); 208void destroy_sensitive_data(void);
206void demote_sensitive_data(void); 209void demote_sensitive_data(void);
@@ -1501,6 +1504,9 @@ main(int ac, char **av)
1501 1504
1502 packet_set_nonblocking(); 1505 packet_set_nonblocking();
1503 1506
1507 /* prepare buffers to collect authentication messages */
1508 buffer_init(&loginmsg);
1509
1504 if (use_privsep) 1510 if (use_privsep)
1505 if ((authctxt = privsep_preauth()) != NULL) 1511 if ((authctxt = privsep_preauth()) != NULL)
1506 goto authenticated; 1512 goto authenticated;