diff options
Diffstat (limited to 'crypto/src/cms/CMSUtils.cs')
-rw-r--r-- | crypto/src/cms/CMSUtils.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/CMSUtils.cs b/crypto/src/cms/CMSUtils.cs index 56509ed7f..d84c0afd7 100644 --- a/crypto/src/cms/CMSUtils.cs +++ b/crypto/src/cms/CMSUtils.cs @@ -187,7 +187,7 @@ namespace Org.BouncyCastle.Cms internal static IssuerAndSerialNumber GetIssuerAndSerialNumber(X509Certificate cert) { TbsCertificateStructure tbsCert = GetTbsCertificateStructure(cert); - return new IssuerAndSerialNumber(tbsCert.Issuer, tbsCert.SerialNumber.Value); + return new IssuerAndSerialNumber(tbsCert.Issuer, tbsCert.SerialNumber); } internal static Asn1.Cms.AttributeTable ParseAttributeTable(Asn1SetParser parser) |