]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: support SHA-512 by default.
authorAdam Langley <agl@golang.org>
Mon, 14 Apr 2014 19:12:06 +0000 (12:12 -0700)
committerAdam Langley <agl@golang.org>
Mon, 14 Apr 2014 19:12:06 +0000 (12:12 -0700)
commitb53bb2cae512ce4abbc1587a903171a9da6201cf
treed5791826e899a13a37382a8d5025e2a213f20e07
parent172acae68ae4c89190df48a7cec084d6cc27c49d
crypto/x509: support SHA-512 by default.

Comodo are now using a SHA-384 signed intermediate. The crypto/x509
package seeks to import hash functions needed for typical operation
without needing to import every hash function possible. Since a SHA-384
certificate is being used by Comodo, crypto/sha512 now appears to fall
into the scope of "typical operation".

R=bradfitz

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/87670045
src/pkg/crypto/x509/verify_test.go
src/pkg/crypto/x509/x509.go