diff options
Diffstat (limited to '')
-rw-r--r-- | crypto/src/openpgp/PgpEncryptedData.cs | 2 | ||||
-rw-r--r-- | crypto/src/openpgp/PgpPublicKeyRing.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/openpgp/PgpEncryptedData.cs b/crypto/src/openpgp/PgpEncryptedData.cs index 0d237b56c..558e0b8a2 100644 --- a/crypto/src/openpgp/PgpEncryptedData.cs +++ b/crypto/src/openpgp/PgpEncryptedData.cs @@ -81,7 +81,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp Array.Copy(lookAhead, bufStart, buf, pos, len); bufStart += len; - return pos + len - off;; + return pos + len - off; } internal byte[] GetLookAhead() diff --git a/crypto/src/openpgp/PgpPublicKeyRing.cs b/crypto/src/openpgp/PgpPublicKeyRing.cs index 7b1ac93bf..92464d64f 100644 --- a/crypto/src/openpgp/PgpPublicKeyRing.cs +++ b/crypto/src/openpgp/PgpPublicKeyRing.cs @@ -45,7 +45,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp + "tag 0x" + ((int)initialTag).ToString("X")); } - PublicKeyPacket pubPk = (PublicKeyPacket) bcpgInput.ReadPacket();; + PublicKeyPacket pubPk = (PublicKeyPacket) bcpgInput.ReadPacket(); TrustPacket trustPk = ReadOptionalTrustPacket(bcpgInput); // direct signatures and revocations |