mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
certs: fix verification in ViewKeyActivity (how embarassing)
Fixes #541
This commit is contained in:
parent
9c41477a4d
commit
35f9189a82
@ -155,8 +155,8 @@ public class ViewCertActivity extends ActionBarActivity
|
||||
|
||||
try {
|
||||
sig.init(new JcaPGPContentVerifierBuilderProvider().setProvider(
|
||||
Constants.BOUNCY_CASTLE_PROVIDER_NAME), signeeRing.getPublicKey());
|
||||
if (sig.verifyCertification(signeeUid, signerRing.getPublicKey())) {
|
||||
Constants.BOUNCY_CASTLE_PROVIDER_NAME), signerRing.getPublicKey());
|
||||
if (sig.verifyCertification(signeeUid, signeeRing.getPublicKey())) {
|
||||
mStatus.setText("ok");
|
||||
mStatus.setTextColor(getResources().getColor(R.color.bbutton_success));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user