certs: fix verification in ViewKeyActivity (how embarassing)

Fixes #541
This commit is contained in:
Vincent Breitmoser 2014-04-09 18:31:45 +02:00
parent 9c41477a4d
commit 35f9189a82

View File

@ -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 {