go.crypto: remove unreachable code.

I ran go vet over all of go.crypto and removed lots of panic("unreachable") that are no longer needed.

R=golang-dev, r, dgryski
CC=golang-dev
https://golang.org/cl/10113043
This commit is contained in:
Adam Langley
2013-06-07 16:05:15 -04:00
parent 59566675d5
commit eca6c1626e
10 changed files with 4 additions and 16 deletions
+4 -2
View File
@@ -52,8 +52,10 @@ func TestBasic(t *testing.T) {
// However, due to the length of time taken, it's disabled here and a more
// limited version is included, below.
func TestFull(t *testing.T) {
// This is too slow for normal testing
return
if testing.Short() {
// This is too slow for normal testing
return
}
a, b := iterate(1000000)