Skip to content

Commit 8737142

Browse files
committed
Correction
1 parent 0317d35 commit 8737142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/src/openpgp/PgpObjectFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public IList FilterPgpObjects(Type type)
151151
PgpObject pgpObject;
152152
while ((pgpObject = NextPgpObject()) != null)
153153
{
154-
if (type.IsInstanceOfType(pgpObject.GetType()))
154+
if (type.IsInstanceOfType(pgpObject))
155155
{
156156
result.Add(pgpObject);
157157
}

0 commit comments

Comments
 (0)