diff options
| author | Adam Langley <agl@golang.org> | 2015-11-27 13:50:36 -0800 |
|---|---|---|
| committer | Adam Langley <agl@golang.org> | 2015-11-28 00:07:16 +0000 |
| commit | a0ea93dea5f5741addc8c96b7ed037d0e359e33f (patch) | |
| tree | 4abe5c4a35e7cd6100fc455e6b3698472faefe3a /src/path/path.go | |
| parent | 85bfa33fdc02417cadf46b3f185784e1cf7886b3 (diff) | |
| download | go-a0ea93dea5f5741addc8c96b7ed037d0e359e33f.tar.xz | |
crypto/x509: permit serial numbers to be negative.
Some software that produces certificates doesn't encode integers
correctly and, about half the time, ends up producing certificates with
serial numbers that are actually negative.
This buggy software, sadly, appears to be common enough that we should
let these errors pass. This change allows a Certificate.SerialNumber to
be negative.
Fixes #8265.
Change-Id: Ief35dae23988fb6d5e2873e3c521366fb03c6af4
Reviewed-on: https://go-review.googlesource.com/17247
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/path/path.go')
0 files changed, 0 insertions, 0 deletions
