aboutsummaryrefslogtreecommitdiff
path: root/crypto/ec/ec_err.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-02-25 17:46:14 +0000
committerDr. Stephen Henson <steve@openssl.org>2016-02-28 22:54:54 +0000
commit1db3107ada6a93140b6b7deb59346b1c14e0adb8 (patch)
treed230476b2030aebfbf0be5fc4f6328ce5a6005bd /crypto/ec/ec_err.c
parentdb50c1da199145e0427ec5d3e457d5c2249cc078 (diff)
downloadopenssl-1db3107ada6a93140b6b7deb59346b1c14e0adb8.zip
openssl-1db3107ada6a93140b6b7deb59346b1c14e0adb8.tar.gz
openssl-1db3107ada6a93140b6b7deb59346b1c14e0adb8.tar.bz2
TLS support for X25519
Add X25519 to TLS supported curve list. Reject attempts to configure keys which cannot be used for signing. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'crypto/ec/ec_err.c')
-rw-r--r--crypto/ec/ec_err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/ec/ec_err.c b/crypto/ec/ec_err.c
index b4edc21..399e4c7 100644
--- a/crypto/ec/ec_err.c
+++ b/crypto/ec/ec_err.c
@@ -1,4 +1,3 @@
-/* crypto/ec/ec_err.c */
/* ====================================================================
* Copyright (c) 1999-2016 The OpenSSL Project. All rights reserved.
*
@@ -275,6 +274,8 @@ static ERR_STRING_DATA EC_str_reasons[] = {
{ERR_REASON(EC_R_BIGNUM_OUT_OF_RANGE), "bignum out of range"},
{ERR_REASON(EC_R_BUFFER_TOO_SMALL), "buffer too small"},
{ERR_REASON(EC_R_COORDINATES_OUT_OF_RANGE), "coordinates out of range"},
+ {ERR_REASON(EC_R_CURVE_DOES_NOT_SUPPORT_SIGNING),
+ "curve does not support signing"},
{ERR_REASON(EC_R_D2I_ECPKPARAMETERS_FAILURE),
"d2i ecpkparameters failure"},
{ERR_REASON(EC_R_DECODE_ERROR), "decode error"},