Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matt Johnston
dropbear
Commits
5ff34120
Commit
5ff34120
authored
Mar 19, 2013
by
Matt Johnston
Browse files
Android returns NULL for pw_crypt, set it to something else
parent
da59afe7
Changes
1
Hide whitespace changes
Inline
Side-by-side
common-session.c
View file @
5ff34120
...
...
@@ -462,6 +462,10 @@ void fill_passwd(const char* username) {
passwd_crypt
=
spasswd
->
sp_pwdp
;
}
#endif
if
(
!
passwd_crypt
)
{
/* android supposedly returns NULL */
passwd_crypt
=
"!!"
;
}
ses
.
authstate
.
pw_passwd
=
m_strdup
(
passwd_crypt
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment