req command incorrectly displays the bits for an EC key
authorMatt Caswell <matt@openssl.org>
Wed, 1 Jun 2016 09:48:36 +0000 (10:48 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 1 Jun 2016 12:09:26 +0000 (13:09 +0100)
commit57358a83a401ef469353b7ebdae0cf3b870a4d5e
tree47afabb3031e198430c4daf6ab98edd8ae9865c6
parente51329d3815df95bf0ff66925c3961794f4c66d1
req command incorrectly displays the bits for an EC key

When the "req" command is used to generate a new EC key using the -newkey
option it will incorrectly display:

 Generating a 2048 bit EC private key

This commit fixes the message to not display the bit length for EC keys
because we don't currently support getting that during generation.

GitHub Issue #1068

Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/req.c