RT2680: Public EC key is shown as private
authorRich Salz <rsalz@akamai.com>
Sun, 26 Jun 2016 18:34:00 +0000 (14:34 -0400)
committerRich Salz <rsalz@openssl.org>
Sun, 26 Jun 2016 21:28:16 +0000 (17:28 -0400)
commitdca5eeb4d06262b5e48f21af5e5d4dd672a8c5af
treedd1cb09cbad74ab9357ce6f3b9d766d8953ad9a1
parent5d28ff38fd4127c5894d22533e842ee446c3d3c2
RT2680: Public EC key is shown as private

Re-implemented as suggested by Steve Henson.
Also change ECParameters_print the same way.

Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
crypto/ec/ec_ameth.c
crypto/ec/eck_prn.c