]> Cypherpunks.ru repositories - gostls13.git/commit
crypto/x509: don't ignore asn1.Marshal error
authorIan Lance Taylor <iant@golang.org>
Tue, 7 Jun 2016 16:42:48 +0000 (09:42 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 14 Jun 2016 05:17:57 +0000 (05:17 +0000)
commit53242e49b127ede6d7b258c7e90c39a5afa70c25
tree466696018e5993016b2a1d3cf7a7988ba6ab48bb
parent0deb49f9c09d15bf0e4c5ec843bd374f9a377e97
crypto/x509: don't ignore asn1.Marshal error

I don't see how the call could fail, so, no test. Just a code cleanup in
case it can fail in the future.

Fixes #15987.

Change-Id: If4af0d5e7d19cc8b13fb6a4f7661c37fb0015e83
Reviewed-on: https://go-review.googlesource.com/23860
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
src/crypto/x509/x509.go