diff options
-rw-r--r-- | crypto/src/cms/CMSCompressedDataParser.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/CMSCompressedDataParser.cs b/crypto/src/cms/CMSCompressedDataParser.cs index 38ff88968..2212f45fd 100644 --- a/crypto/src/cms/CMSCompressedDataParser.cs +++ b/crypto/src/cms/CMSCompressedDataParser.cs @@ -46,7 +46,7 @@ namespace Org.BouncyCastle.Cms Asn1OctetStringParser bytes = (Asn1OctetStringParser)content.GetContent(Asn1Tags.OctetString); Stream zIn = ZLib.DecompressInput(bytes.GetOctetStream()); - return new CmsTypedStream(content.ContentType.ToString(), zIn); + return new CmsTypedStream(content.ContentType.Id, zIn); } catch (IOException e) { |