ports/security/dropbear/patches/patch-common-session_c

12 lines
290 B
Text

Index: common-session.c
--- common-session.c.orig
+++ common-session.c
@@ -627,7 +627,7 @@ void fill_passwd(const char* username) {
if (ses.authstate.pw_passwd)
m_free(ses.authstate.pw_passwd);
- pw = getpwnam(username);
+ pw = getpwnam_shadow(username);
if (!pw) {
return;
}