Skip to content

x/crypto/pkcs12: typo in struct tag #13855

Closed
@tipycalFlow

Description

@tipycalFlow

Hi,

I was trying to use the pkcs12 package's Decode method to read a .p12 file to further generate a TLS certificate and got the following error:
pkcs12: expected exactly two safe bags in the PFX PDU

I looked around the code in pkcs12.go and came across what seems to be a typing error. So my question is, should line 68:
Value asn1.RawValue 'ans1:"set"'
be:
Value asn1.RawValue 'asn1:"set"'
instead?

**I'm using go1.6beta1 darwin/amd64 on OS X Yosemite version 10.10.5 (14F1509)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions