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:49:35 +0000 (19:49 +0200)
commitf063e30fe9f316067950bdf0397b51cf87d4b6a6
tree58275cbcd6367feacde8e9e4499465daaa9a381a
parent0388ac4c99e801462dafef3f2dab3f255ec33c96
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>
crypto/ec/ec_asn1.c
doc/crypto/EC_KEY_new.pod