ssl add server ecdh curve init
authorAndy Green <andy.green@linaro.org>
Thu, 18 Feb 2016 12:36:09 +0000 (20:36 +0800)
committerAndy Green <andy.green@linaro.org>
Thu, 18 Feb 2016 12:36:09 +0000 (20:36 +0800)
commit78773b6da09841896694a9b599199b60c0764119
tree4ba7009de7ed1dec4a0acc67f88b0f20e8832891
parentd32bb055ea6abbe44f8a9133d1b7cba05e55cf6c
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