diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-05-24 21:05:36 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-05-24 21:05:36 +0700 |
commit | 8737142511b7f5cb407dfe773e4fc9e4c14e73e0 (patch) | |
tree | d6c744f9c82e65372bce36934564107e085788e8 /crypto/src/openpgp | |
parent | .NET 1.1 fixes (diff) | |
download | BouncyCastle.NET-ed25519-8737142511b7f5cb407dfe773e4fc9e4c14e73e0.tar.xz |
Correction
Diffstat (limited to 'crypto/src/openpgp')
-rw-r--r-- | crypto/src/openpgp/PgpObjectFactory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/openpgp/PgpObjectFactory.cs b/crypto/src/openpgp/PgpObjectFactory.cs index 3abb6c945..1f1c32c83 100644 --- a/crypto/src/openpgp/PgpObjectFactory.cs +++ b/crypto/src/openpgp/PgpObjectFactory.cs @@ -151,7 +151,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp PgpObject pgpObject; while ((pgpObject = NextPgpObject()) != null) { - if (type.IsInstanceOfType(pgpObject.GetType())) + if (type.IsInstanceOfType(pgpObject)) { result.Add(pgpObject); } |