diff options
Diffstat (limited to 'crypto/src/asn1/cms/SignedData.cs')
-rw-r--r-- | crypto/src/asn1/cms/SignedData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/cms/SignedData.cs b/crypto/src/asn1/cms/SignedData.cs index 789f8bd72..6b07e5128 100644 --- a/crypto/src/asn1/cms/SignedData.cs +++ b/crypto/src/asn1/cms/SignedData.cs @@ -24,8 +24,8 @@ namespace Org.BouncyCastle.Asn1.Cms public static SignedData GetInstance(object obj) { - if (obj is SignedData) - return (SignedData)obj; + if (obj is SignedData signedData) + return signedData; if (obj == null) return null; return new SignedData(Asn1Sequence.GetInstance(obj)); |