From ecf6efb5625747dadc12e569a5f922baa0121da4 Mon Sep 17 00:00:00 2001 From: Greg Alexander Date: Tue, 29 Dec 2020 00:35:35 -0500 Subject: [PATCH] After a warning audit, fix the one warning that is my fault. The other warnings all come from dropbear being sloppy about char* vs unsigned char*. I've got a variety of opinions about what should be done about it but I'm not going to interfere with it because they'll surely fix it upstream sooner or later. --- dropbear/svr-authpasswd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dropbear/svr-authpasswd.c b/dropbear/svr-authpasswd.c index 6c4614e..7a74bdf 100644 --- a/dropbear/svr-authpasswd.c +++ b/dropbear/svr-authpasswd.c @@ -101,8 +101,7 @@ void svr_auth_password(int valid_user) { if (testcrypt == NULL) { /* crypt() with an invalid salt like "!!" */ - dropbear_log(LOG_WARNING, "No password received from ssh client", - ses.authstate.pw_name); + dropbear_log(LOG_WARNING, "No password received from ssh client"); send_msg_userauth_failure(0, 1); return; }