Skip to content
Snippets Groups Projects
Commit 10d7a358 authored by Matt Johnston's avatar Matt Johnston
Browse files

Don't TRACE() the pw_passwd

parent 6b4105ff
Branches
Tags
No related merge requests found
...@@ -155,7 +155,6 @@ void recv_msg_userauth_request() { ...@@ -155,7 +155,6 @@ void recv_msg_userauth_request() {
AUTH_METHOD_NONE_LEN) == 0) { AUTH_METHOD_NONE_LEN) == 0) {
TRACE(("recv_msg_userauth_request: 'none' request")) TRACE(("recv_msg_userauth_request: 'none' request"))
#ifdef ALLOW_BLANK_PASSWORD #ifdef ALLOW_BLANK_PASSWORD
TRACE(("pw_passwd '%s'", ses.authstate.pw_passwd))
if (!svr_opts.noauthpass if (!svr_opts.noauthpass
&& !(svr_opts.norootpass && ses.authstate.pw_uid == 0) && !(svr_opts.norootpass && ses.authstate.pw_uid == 0)
&& ses.authstate.pw_passwd[0] == '\0') && ses.authstate.pw_passwd[0] == '\0')
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment