GH367: Fix dsa keygen for too-short seed
authorIsmo Puustinen <ismo.puustinen@intel.com>
Sat, 8 Aug 2015 02:14:47 +0000 (22:14 -0400)
committerRich Salz <rsalz@openssl.org>
Fri, 28 Aug 2015 02:57:00 +0000 (22:57 -0400)
commitf00a10b89734e84fe80f98ad9e2e77b557c701ae
tree02de00521051974d7b2caa2d1c4925cb3c98fcac
parent3c65047d30dacca345d30269b95af4a5c413e8d1
GH367: Fix dsa keygen for too-short seed

If the seed value for dsa key generation is too short (< qsize),
return an error. Also update the documentation.

Signed-off-by: Rich Salz <rsalz@akamai.com>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
CHANGES
crypto/dsa/dsa_gen.c
doc/crypto/DSA_generate_parameters.pod