mirror of https://github.com/golang/go.git
x509: Fixed ASN.1 encoding in CRL Distribution Points extension
The ASN.1 encoding of the CRL Distribution Points extension showed an invalid false 'IsCompound' which caused a display problem in the Windows certificate viewer. LGTM=agl R=agl CC=golang-codereviews https://golang.org/cl/143320043
This commit is contained in:
parent
74b8693c54
commit
e7488b2189
|
|
@ -1328,7 +1328,7 @@ func buildExtensions(template *Certificate) (ret []pkix.Extension, err error) {
|
||||||
|
|
||||||
dp := distributionPoint{
|
dp := distributionPoint{
|
||||||
DistributionPoint: distributionPointName{
|
DistributionPoint: distributionPointName{
|
||||||
FullName: asn1.RawValue{Tag: 0, Class: 2, Bytes: rawFullName},
|
FullName: asn1.RawValue{Tag: 0, Class: 2, IsCompound: true, Bytes: rawFullName},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
crlDp = append(crlDp, dp)
|
crlDp = append(crlDp, dp)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue