Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto/tls: panic with unknown hash functions.
Just so that we notice in the future if another hash function is added without updating this utility function, make it panic when passed an unknown handshake hash function. (Which should never happen.) Change-Id: I60a6fc01669441523d8c44e8fbe7ed435e7f04c8 Reviewed-on: https://go-review.googlesource.com/7646 Reviewed-by: Andrew Gerrand <[email protected]> Reviewed-by: Joël Stemmer <[email protected]>
- Loading branch information