Skip to content

Commit

Permalink
Fix bug in PKCS#7 certificate parser
Browse files Browse the repository at this point in the history
  • Loading branch information
csstaub committed May 9, 2017
1 parent fe74b98 commit e0eb43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkcs7/pkcs7.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type SignedDataEnvelope struct {
// Refer to RFC 2315, Section 9.1 for definition of this type.
type SignedData struct {
Version int
DigestAlgorithms []asn1.ObjectIdentifier `asn1:"set"`
DigestAlgorithms []asn1.RawValue `asn1:"set"`
ContentInfo asn1.RawValue
Certificates []asn1.RawValue `asn1:"tag:0,optional,set"`
RevocationLists []asn1.RawValue `asn1:"tag:1,optional,set"`
Expand Down

0 comments on commit e0eb43a

Please sign in to comment.