RT2626: Change default_bits from 1K to 2K
authorKurt Roeckx <kurt@roeckx.be>
Mon, 8 Sep 2014 21:14:36 +0000 (17:14 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 8 Sep 2014 21:23:37 +0000 (17:23 -0400)
commit57c932dafde94365751568174a3250a25ee17e07
treebb7a4214d92e37c375f721bb9193b58be23f1bc4
parentef720a67ab8469e009c41714aeff9a34242aa380
RT2626: Change default_bits from 1K to 2K

This is a more comprehensive fix.  It changes all
keygen apps to use 2K keys. It also changes the
default to use SHA256 not SHA1.  This is from
Kurt's upstream Debian changes.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
(cherry picked from commit 44e0c2bae4bfd87d770480902618dbccde84fd81)
apps/dhparam.c
apps/gendh.c
apps/genrsa.c
apps/openssl.cnf
crypto/dsa/dsa_ameth.c
crypto/ec/ec_ameth.c
crypto/hmac/hm_ameth.c
crypto/rsa/rsa_ameth.c