Enable X25519 by default in TLS.

BUG=571231

Change-Id: I73e39411ccdc817f172c7a94b7f70c448eed938f
Reviewed-on: https://boringssl-review.googlesource.com/6911
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
David Benjamin 2016-01-15 19:09:31 -05:00 committed by Adam Langley
parent 3a39b06011
commit d2f0ce80a2

View File

@ -294,6 +294,7 @@ int SSL_early_callback_ctx_extension_get(
} }
static const uint16_t eccurves_default[] = { static const uint16_t eccurves_default[] = {
SSL_CURVE_ECDH_X25519,
SSL_CURVE_SECP256R1, SSL_CURVE_SECP256R1,
SSL_CURVE_SECP384R1, SSL_CURVE_SECP384R1,
#if defined(BORINGSSL_ANDROID_SYSTEM) #if defined(BORINGSSL_ANDROID_SYSTEM)