1
0
mirror of https://github.com/golang/go synced 2024-11-19 09:04:41 -07:00
go/src
Adam Langley a432568300 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>
2015-03-18 00:37:56 +00:00
..
archive archive/zip: remove WriterOptions and replace with SetOffset method 2015-03-12 21:32:09 +00:00
bufio
builtin
bytes
cmd cmd/go: don't crash on unknown GOARCH unless we actually care 2015-03-18 00:16:17 +00:00
compress
container
crypto crypto/tls: panic with unknown hash functions. 2015-03-18 00:37:56 +00:00
database/sql
debug debug/elf: support reading debug info from 32-bit PPC objects 2015-03-14 01:31:28 +00:00
encoding encoding/binary: cull dead code 2015-03-14 02:51:22 +00:00
errors
expvar
flag flag: use four spaces before tab, not three 2015-03-12 18:43:06 +00:00
fmt fmt: document existing behavior of nil receivers 2015-03-01 18:17:53 +00:00
go go/build: add GOARCH=arm64 2015-03-16 18:44:35 +00:00
hash os/signal, hash/crc32: add arm64 build tags 2015-03-16 18:46:43 +00:00
html
image image/jpeg: reject bad Tq values in SOF data. 2015-03-13 05:22:55 +00:00
index/suffixarray
internal runtime: remove futile wakeups from trace 2015-03-17 14:14:55 +00:00
io
log log/syslog: avoid unix sockets on darwin/arm 2015-03-04 22:13:06 +00:00
math math/big: clearer semantics for Float.Scan 2015-03-17 20:18:53 +00:00
mime mime/quotedprintable: create the package 2015-02-26 20:09:28 +00:00
net net/http/pprof: Use relative links to profiles in index html 2015-03-12 01:13:26 +00:00
os os/signal, hash/crc32: add arm64 build tags 2015-03-16 18:46:43 +00:00
path path/filepath: clarify the package doc about '/' in returned results. 2015-03-11 20:25:35 +00:00
reflect reflect: add support for GOARCH=arm64 2015-03-16 18:46:27 +00:00
regexp
runtime runtime: fix writebarrier throw in lock_sema 2015-03-17 19:20:11 +00:00
sort
strconv strconv: simplify code for binary exponent float format 2015-03-05 16:52:41 +00:00
strings
sync sync/atomic: add support for GOARCH=arm64 2015-03-16 18:46:18 +00:00
syscall syscall: add support for GOARCH=arm64 2015-03-16 18:46:02 +00:00
testing
text text/template: protect against explicit nil in field chains 2015-03-16 22:35:49 +00:00
time time: zoneinfo support for darwin 2015-03-03 15:37:14 +00:00
unicode unicode: Fixed an out of date comment (MaxLatin1, not Latin1Max). 2015-02-16 21:35:33 +00:00
unsafe
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: remove use of cp --preserve. 2015-02-13 21:16:25 +00:00
bootstrap.bash build: add bootstrap.bash for bootstrapping new systems 2015-03-02 17:51:56 +00:00
clean.bash
clean.bat
clean.rc
make.bash [dev.cc] cmd/go: fix expansion of 'std', add 'cmd' 2015-02-23 15:13:17 +00:00
make.bat build: update Windows make.bat to use CC_FOR_TARGET. 2015-03-02 02:20:46 +00:00
Make.dist
make.rc all: delete C libraries and cmd/dist code that builds them 2015-03-01 00:40:23 +00:00
nacltest.bash
race.bash [dev.cc] cmd/go: fix expansion of 'std', add 'cmd' 2015-02-23 15:13:17 +00:00
race.bat [dev.cc] cmd/go: fix expansion of 'std', add 'cmd' 2015-02-23 15:13:17 +00:00
run.bash build: convert run.bash, run.bat, and run.rc into a Go program 2015-03-03 23:22:11 +00:00
run.bat build: convert run.bash, run.bat, and run.rc into a Go program 2015-03-03 23:22:11 +00:00
run.rc build: convert run.bash, run.bat, and run.rc into a Go program 2015-03-03 23:22:11 +00:00