| commit | ef87c0edae19d6437801cd74203f5a2c19ea6534 | [log] [tgz] |
|---|---|---|
| author | Russ Cox <rsc@golang.org> | Thu Sep 13 10:47:01 2012 -0400 |
| committer | Russ Cox <rsc@golang.org> | Thu Sep 13 10:47:01 2012 -0400 |
| tree | 5692c3f32890c31d77c2236748ddbc62144b42ec | |
| parent | 6ee91ced92fc27f8c93b0589484923593cad240f [diff] |
crypto/rsa: reject PublicKey.E if it won't fit in a 32-bit int Right now we only have 32-bit ints so that's a no-op. Took the opportunity to check for some other invalid values too. Suggestions for additions or modifications welcome. R=agl CC=golang-dev https://golang.org/cl/6493112