]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: match RFC suggested SKID generation method
authorRoland Shoemaker <rolandshoemaker@gmail.com>
Sun, 7 Jun 2020 15:32:28 +0000 (08:32 -0700)
committerFilippo Valsorda <filippo@golang.org>
Mon, 8 Jun 2020 16:09:45 +0000 (16:09 +0000)
commit5b9304e0be5b5e11a82e65ecc626be98b0755e3d
tree15d089a4c2a27a47fb6f2fb451b3f693264bb680
parentbb8901456cec0baa0b0ad894cfe412ee6275ec5c
crypto/x509: match RFC suggested SKID generation method

Rather than hashing the encoding of the SPKI structure, hash the
bytes of the public key itself.

Fixes #39429

Change-Id: I55a0f8f08ab1f1b5702590b47d8b9a92d1dbcc1f
Reviewed-on: https://go-review.googlesource.com/c/go/+/236878
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/x509/x509.go