commit | 93ea79ee7ed859287e6adc51ab04028e972403e1 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@golang.org> | Wed Jul 11 12:47:12 2012 -0400 |
committer | Adam Langley <agl@golang.org> | Wed Jul 11 12:47:12 2012 -0400 |
tree | ced91da2902569c77d57cdcecbc36048c37a8aec | |
parent | 82cbcb0dd5437db1fd2f51d1ff81a38670f7a684 [diff] |
crypto/rsa: left-pad PKCS#1 v1.5 outputs. OpenSSL requires that RSA signatures be exactly the same byte-length as the modulus. Currently it'll reject ~1/256 of our signatures: those that end up a byte shorter. Fixes #3796. R=golang-dev, edsrzf, r CC=golang-dev https://golang.org/cl/6352093