mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-01-11 13:38:06 -05:00
bug prevents pass phrase being recognized, making key creation unusable
This commit is contained in:
parent
25b8eb9d77
commit
e30a531229
@ -116,7 +116,7 @@ public class EditKeyActivity extends BaseActivity implements OnClickListener {
|
||||
|
||||
public boolean havePassPhrase() {
|
||||
return (Apg.getPassPhrase() != null && !Apg.getPassPhrase().equals("")) ||
|
||||
(mNewPassPhrase != null && mNewPassPhrase.equals(""));
|
||||
(mNewPassPhrase != null && !mNewPassPhrase.equals(""));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user