summaryrefslogtreecommitdiff
path: root/src/regexp/syntax/prog.go
diff options
context:
space:
mode:
authorAdam Langley <agl@golang.org>2015-03-16 16:45:29 -0700
committerAdam Langley <agl@golang.org>2015-03-18 00:37:56 +0000
commita432568300e1432c3a49d80b48900411589a816d (patch)
treec2654bca1bac081b8d801206e02bfb9a76b98ff8 /src/regexp/syntax/prog.go
parent123b38e105342ca65392ba8e20a089fe405b0791 (diff)
downloadgo-git-a432568300e1432c3a49d80b48900411589a816d.tar.gz
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 <adg@golang.org> Reviewed-by: Joël Stemmer <stemmertech@gmail.com>
Diffstat (limited to 'src/regexp/syntax/prog.go')
0 files changed, 0 insertions, 0 deletions