RT3065: automatically generate a missing EC public key
authorMatt Caswell <matt@openssl.org>
Fri, 22 Aug 2014 16:04:19 +0000 (18:04 +0200)
committerEmilia Kasper <emilia@openssl.org>
Wed, 27 Aug 2014 17:42:24 +0000 (19:42 +0200)
commit10be715b9583eab82b4c280e45359c74dc3d1cf8
treef71ec01e4dbb49033591816b15ae76ef4e1027ad
parente87a4a70116be199ad8961c77622136342cd7c38
RT3065: automatically generate a missing EC public key

When d2i_ECPrivateKey reads a private key with a missing (optional) public key,
generate one automatically from the group and private key.

Reviewed-by: Dr Stephen Henson <steve@openssl.org>
(cherry picked from commit ed383f847156940e93f256fed78599873a4a9b28)

Conflicts:
doc/crypto/EC_KEY_new.pod
crypto/ec/ec_asn1.c