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:50:15 +0000 (19:50 +0200)
commit2083f7c465d07867dd9867b8742bb71c03d1f203
tree82854e02b8f8ca1e825c02232c2c7281a4b54586
parent1f2b943254ce590867717375e4f364860a9b7154
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)
crypto/ec/ec_asn1.c
doc/crypto/EC_KEY_new.pod