Merge remote-tracking branch 'origin/master' into development

This commit is contained in:
Vincent Breitmoser 2014-10-09 16:25:53 +02:00
commit 340ed7c08d
2 changed files with 2 additions and 2 deletions

View File

@ -571,7 +571,7 @@ public class PgpSignEncrypt {
new SignEncryptResult(SignEncryptResult.RESULT_PENDING_NFC, log);
// Note that the checked key here is the master key, not the signing key
// (although these are always the same on Yubikeys)
result.setNfcData(mSignatureMasterKeyId, e.hashToSign, e.hashAlgo, e.creationTimestamp, mSignaturePassphrase);
result.setNfcData(mSignatureSubKeyId, e.hashToSign, e.hashAlgo, e.creationTimestamp, mSignaturePassphrase);
Log.d(Constants.TAG, "e.hashToSign"+ Hex.toHexString(e.hashToSign));
return result;
}

View File

@ -163,7 +163,7 @@ public class ImportKeyResult extends OperationResult {
duration = 0;
color = Style.RED;
str += " " + activity.getResources().getQuantityString(
R.plurals.import_keys_with_errors, mBadKeys);
R.plurals.import_keys_with_errors, mBadKeys, mBadKeys);
}
} else {