]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] crypto/x509: fix panic when using unavailable hash function.
authorAdam Langley <agl@golang.org>
Wed, 13 Jun 2012 20:23:40 +0000 (16:23 -0400)
committerAdam Langley <agl@golang.org>
Wed, 13 Jun 2012 20:23:40 +0000 (16:23 -0400)
commit5ccc50c8d6401ef5c987645165ffce9496ec88b7
treed2f6b30e67f5821b09fdc324ee6583319be60da6
parentfcfedc0117b93c3154298f0658afbbc9f8f09834
[release-branch.go1] crypto/x509: fix panic when using unavailable hash function.

««« backport d8d358ddc6e0
crypto/x509: fix panic when using unavailable hash function.

crypto.Hash.New() changed to panicking when the hash function isn't
linked in, but crypto/x509 still expects it to return nil.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6175047

»»»
src/pkg/crypto/x509/x509.go