Issue warnings for large DSA and RSA keys
authorGeorg Schmidt <gs-develop@gs-sys.de>
Wed, 30 May 2018 23:42:39 +0000 (01:42 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Tue, 5 Jun 2018 16:08:01 +0000 (18:08 +0200)
commit0336df2fa316a3e08b8f0d2d0e8d4bc175e46634
tree02fa8e84b24a147a48580777445f56f1dc12f1da
parent630fe1da888490b7dfef3fe0928b813ddff5d51a
Issue warnings for large DSA and RSA keys

Issue a warning when generating DSA or RSA keys of size greater than
OPENSSL_DSA_MAX_MODULUS_BITS resp. OPENSSL_RSA_MAX_MODULUS_BITS.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/6380)
apps/dsaparam.c
apps/gendsa.c
apps/genrsa.c
apps/req.c