diff options
| author | Adam Langley <agl@golang.org> | 2016-08-17 13:15:28 -0700 |
|---|---|---|
| committer | Adam Langley <agl@golang.org> | 2016-08-17 23:23:18 +0000 |
| commit | b23b9a762c4f876a9f7575fa512074a386e3c6e1 (patch) | |
| tree | 2a5c5b1ffe419c57e7d0c8211479aaec7701544c /src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSA | |
| parent | c2322b7ea60f85b4fd3d566b17ab3f7dcb865c1a (diff) | |
| download | go-b23b9a762c4f876a9f7575fa512074a386e3c6e1.tar.xz | |
crypto/x509: return error for missing SerialNumber.
If the SerialNumber is nil in the template then the resulting panic is
rather deep in encoding/asn1 and it's not obvious what went wrong.
This change tests and returns a more helpful error in this case.
Fixes #16603.
Change-Id: Ib30d652555191eb78f705dff8d909e4b5808f9ca
Reviewed-on: https://go-review.googlesource.com/27238
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSA')
0 files changed, 0 insertions, 0 deletions
