]> granicus.if.org Git - openssl/commit
RT2679: Fix error if keysize too short
authorAnnie Yousar <a.yousar@informatik.hu-berlin.de>
Mon, 8 Sep 2014 20:50:03 +0000 (16:50 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 20 Nov 2014 18:45:25 +0000 (13:45 -0500)
commitc56a50b229932d2cef651d931b71a8cbffb029da
tree2c0064de0702bf68aa169c0c1b83c6b97a429086
parent14d3b76be88ec68cda613186bb62415c7a17e573
RT2679: Fix error if keysize too short

In keygen, return KEY_SIZE_TOO_SMALL not INVALID_KEYBITS.

** I also increased the minimum from 256 to 512, which is now
documented in CHANGES file. **

Reviewed-by: Matt Caswell <matt@openssl.org>
CHANGES
crypto/rsa/rsa_pmeth.c