]> Cypherpunks repositories - gostls13.git/commit
crypto/rsa: rsa.SignPSS with opts=nil shouldn't crash.
authorAdam Langley <agl@golang.org>
Mon, 5 Jan 2015 22:29:42 +0000 (14:29 -0800)
committerAdam Langley <agl@golang.org>
Tue, 6 Jan 2015 19:18:28 +0000 (19:18 +0000)
commitb1370742eedf4f1801d86399374802c4d606a6d7
tree0dd95ba959ed403cbda9c06a1aad1ae782ffff1c
parent02f89331c2ec09923806611bc1a8fbb2ffcbcca5
crypto/rsa: rsa.SignPSS with opts=nil shouldn't crash.

SignPSS is documented as allowing opts to be nil, but actually
crashes in that case. This change fixes that.

Change-Id: Ic48ff5f698c010a336e2bf720e0f44be1aecafa0
Reviewed-on: https://go-review.googlesource.com/2330
Reviewed-by: Minux Ma <minux@golang.org>
src/crypto/rsa/pss.go
src/crypto/rsa/pss_test.go