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:21:04 +0000 (17:21 -0400)
commit44e0c2bae4bfd87d770480902618dbccde84fd81
treefec922dd02ccada0d46acea1710604171a5633d8
parent5f855569c452262a8770ed822c7f98f5fac3e3d6
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>
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