ssl add server ecdh curve init
authorAndy Green <andy.green@linaro.org>
Wed, 17 Feb 2016 13:11:13 +0000 (21:11 +0800)
committerAndy Green <andy.green@linaro.org>
Thu, 18 Feb 2016 11:25:46 +0000 (19:25 +0800)
commit48a967d4e7320a209114b8a4980884346f979842
tree4ba7009de7ed1dec4a0acc67f88b0f20e8832891
parent835ad120aa711f7fd9cdb26b5237a843f907e356
ssl add server ecdh curve init

Using "real" SSL certs requires some init for openssl ECDH
curve.  Add a default curve "prime256v1" and allow overriding it
at context creation time.

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/ssl.c