diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -201,6 +201,9 @@ int startup_pipe; /* in child */ | |||
201 | int use_privsep; | 201 | int use_privsep; |
202 | struct monitor *pmonitor; | 202 | struct monitor *pmonitor; |
203 | 203 | ||
204 | /* message to be displayed after login */ | ||
205 | Buffer loginmsg; | ||
206 | |||
204 | /* Prototypes for various functions defined later in this file. */ | 207 | /* Prototypes for various functions defined later in this file. */ |
205 | void destroy_sensitive_data(void); | 208 | void destroy_sensitive_data(void); |
206 | void demote_sensitive_data(void); | 209 | void 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; |