forked from enlightenment/enlightenment
modules/lokker: Array address is never NULL.
This would always be true. Comparing against the first array item is fine. CID: 1155284
This commit is contained in:
parent
90daba7645
commit
3a1cc22f83
|
@ -658,7 +658,7 @@ _lokker_check_auth(void)
|
||||||
}
|
}
|
||||||
else if (e_desklock_is_personal())
|
else if (e_desklock_is_personal())
|
||||||
{
|
{
|
||||||
if ((e_config->desklock_passwd) && (edd->passwd && edd->passwd[0]) &&
|
if ((e_config->desklock_passwd) && edd->passwd[0] &&
|
||||||
(e_config->desklock_passwd == e_auth_hash_djb2(edd->passwd, strlen(edd->passwd))))
|
(e_config->desklock_passwd == e_auth_hash_djb2(edd->passwd, strlen(edd->passwd))))
|
||||||
{
|
{
|
||||||
/* password ok */
|
/* password ok */
|
||||||
|
|
Loading…
Reference in New Issue