1
0
mirror of https://github.com/golang/go synced 2024-10-03 18:21:21 -06:00
go/src/pkg
Adam Langley 5c659d7362 crypto/x509: test for negative RSA parameters.
Someone found software that generates negative numbers for the RSA
modulus in an X.509 certificate. Our error messages were very poor in
this case so this change improves that.

Update #4728
Return more helpful errors when RSA parameters are negative or zero.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7228072
2013-01-31 12:54:37 -05:00
..
archive all: use t.Skip{,f} 2013-01-24 17:32:10 +11:00
bufio cmd/gofmt, bufio, image: Consistency and error handling. 2013-01-07 11:15:53 +11:00
builtin builtin: correct comment on builtin function delete(). 2012-12-14 09:13:42 -08:00
bytes bytes: fix UnreadByte failure after ReadBytes 2013-01-11 17:02:21 +11:00
compress all: use t.Skip{,f} 2013-01-24 17:32:10 +11:00
container container/heap: split example into two 2013-01-30 23:14:29 -08:00
crypto crypto/x509: test for negative RSA parameters. 2013-01-31 12:54:37 -05:00
database/sql database/sql: document args, add a couple examples 2013-01-11 14:46:49 -08:00
debug all: make tests able to run multiple times. 2013-01-27 00:24:09 +01:00
encoding encoding/json: document case-insensitive Unmarshal key matching 2013-01-31 07:49:23 -08:00
errors pkg: a slew of examples 2012-02-18 11:48:33 +11:00
exp exp/cookiejar: update PublicSuffixList doc comment to match the 2013-01-31 14:12:43 +11:00
expvar all: make tests able to run multiple times. 2013-01-27 00:24:09 +01:00
flag all: make tests able to run multiple times. 2013-01-27 00:24:09 +01:00
fmt fmt: improve go syntax handling of byte-derived arrays and slices 2013-01-30 17:53:53 -08:00
go cmd/go: many bug fixes 2013-01-31 08:06:38 -08:00
hash build: make int 64 bits on amd64 2012-09-24 20:57:01 -04:00
html html/template: remove noescape support 2013-01-18 10:30:12 +11:00
image all: use io.ByteWriter now that it exists 2013-01-08 12:15:19 -08:00
index/suffixarray all: various typos 2012-03-13 17:29:07 -07:00
io io/ioutil: fix Discard data race 2012-12-28 09:33:22 -08:00
log all: use t.Skip{,f} 2013-01-24 17:32:10 +11:00
math math/big: make tests faster by reducing coverage in --test.short mode. 2013-01-30 18:19:58 -05:00
mime mime, strconv: Make testdata more consistent. 2013-01-22 13:44:35 -08:00
net net/http: fix race 2013-01-30 15:10:07 -08:00
old/netchan gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
os os: use signal strings where possible in ProcessState.String 2013-01-31 07:53:18 -08:00
path all: set GOMAXPROCS to 1 when counting mallocs 2012-12-01 00:38:01 +08:00
reflect reflect: declare slice as *[]unsafe.Pointer instead of *[]byte 2012-12-28 02:35:04 +08:00
regexp all: use t.Skip{,f} 2013-01-24 17:32:10 +11:00
runtime runtime: local allocation in mprof.goc 2013-01-30 09:01:31 -08:00
sort sort: fix comment for various Search routines 2012-11-07 05:07:46 +08:00
strconv mime, strconv: Make testdata more consistent. 2013-01-22 13:44:35 -08:00
strings bytes, strings: fix Reader WriteTo return value on 0 bytes copied 2012-11-25 09:04:13 -08:00
sync all: use t.Skip{,f} 2013-01-24 17:32:10 +11:00
syscall syscall: handle empty address in ReadFrom better 2013-01-30 10:02:01 -08:00
testing testing: add Skip/Skipf 2013-01-23 10:22:33 +11:00
text text/template/parse: don't show itemType in error messages 2013-01-22 02:48:40 +08:00
time time: make TestReset more reliable 2013-01-22 17:25:58 -08:00
unicode utf8: fix typo. 2013-01-09 11:07:13 -08:00
unsafe unsafe: fix a typo 2012-10-19 16:35:15 +11:00