Mercurial > dropbear
comparison svr-auth.c @ 678:6e0899b56ac4
Don't TRACE() the pw_passwd
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 09 May 2012 22:52:58 +0800 |
parents | 55b84e59aaad |
children | c58a15983808 |
comparison
equal
deleted
inserted
replaced
677:55b84e59aaad | 678:6e0899b56ac4 |
---|---|
153 if (methodlen == AUTH_METHOD_NONE_LEN && | 153 if (methodlen == AUTH_METHOD_NONE_LEN && |
154 strncmp(methodname, AUTH_METHOD_NONE, | 154 strncmp(methodname, AUTH_METHOD_NONE, |
155 AUTH_METHOD_NONE_LEN) == 0) { | 155 AUTH_METHOD_NONE_LEN) == 0) { |
156 TRACE(("recv_msg_userauth_request: 'none' request")) | 156 TRACE(("recv_msg_userauth_request: 'none' request")) |
157 #ifdef ALLOW_BLANK_PASSWORD | 157 #ifdef ALLOW_BLANK_PASSWORD |
158 TRACE(("pw_passwd '%s'", ses.authstate.pw_passwd)) | |
159 if (!svr_opts.noauthpass | 158 if (!svr_opts.noauthpass |
160 && !(svr_opts.norootpass && ses.authstate.pw_uid == 0) | 159 && !(svr_opts.norootpass && ses.authstate.pw_uid == 0) |
161 && ses.authstate.pw_passwd[0] == '\0') | 160 && ses.authstate.pw_passwd[0] == '\0') |
162 { | 161 { |
163 dropbear_log(LOG_NOTICE, | 162 dropbear_log(LOG_NOTICE, |