Modify TLS support for new X25519 API.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 11 Aug 2016 14:41:49 +0000 (15:41 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 13 Aug 2016 13:11:05 +0000 (14:11 +0100)
commitec24630ae2b714d6e22fbfa4695aa8f8adef1828
treed011ddd52b33c5bb4d58cdede78c9d4ea690199a
parent3bca6c27317958f30f8bbfe67814a7ab9a07f4a3
Modify TLS support for new X25519 API.

When handling ECDH check to see if the curve is "custom" (X25519 is
currently the only curve of this type) and instead of setting a curve
NID just allocate a key of appropriate type.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/s3_lib.c
ssl/ssl_locl.h
ssl/statem/statem_clnt.c
ssl/statem/statem_srvr.c
ssl/t1_lib.c