mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
Merge pull request #1174 from Jesperbk/development
Fixed symmetric encryption crash
This commit is contained in:
commit
30711c3fe7
@ -136,7 +136,9 @@ public class EncryptTextActivity extends EncryptActivity implements EncryptActiv
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setPassphrase(Passphrase passphrase) {
|
public void setPassphrase(Passphrase passphrase) {
|
||||||
|
if (mPassphrase != null) {
|
||||||
mPassphrase.removeFromMemory();
|
mPassphrase.removeFromMemory();
|
||||||
|
}
|
||||||
mPassphrase = passphrase;
|
mPassphrase = passphrase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user