comparison cli-session.c @ 1214:61d3f56808a4

Merge pull request #18 from annulen/dbclient_syslog Support syslog logging in dbclient.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Dec 2015 21:55:51 +0800
parents bf626d259eb1
children 854f39ff5105 9169e4e7cbee
comparison
equal deleted inserted replaced
1209:ab7d9c12caa7 1214:61d3f56808a4
267 cli_ses.state = USERAUTH_REQ_SENT; 267 cli_ses.state = USERAUTH_REQ_SENT;
268 TRACE(("leave cli_sessionloop: cli_auth_try")) 268 TRACE(("leave cli_sessionloop: cli_auth_try"))
269 return; 269 return;
270 270
271 case USERAUTH_SUCCESS_RCVD: 271 case USERAUTH_SUCCESS_RCVD:
272 #ifndef DISABLE_SYSLOG
273 if (opts.usingsyslog) {
274 dropbear_log(LOG_INFO, "Authentication succeeded.");
275 }
276 #endif
272 277
273 #ifdef DROPBEAR_NONE_CIPHER 278 #ifdef DROPBEAR_NONE_CIPHER
274 if (cli_ses.cipher_none_after_auth) 279 if (cli_ses.cipher_none_after_auth)
275 { 280 {
276 set_algo_usable(sshciphers, "none", 1); 281 set_algo_usable(sshciphers, "none", 1);