summaryrefslogtreecommitdiffstats
path: root/test/ectest.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-02-23 14:35:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2016-02-28 22:54:54 +0000
commit4a5bbc4ef57e21ac7b2f000c2dcbe86e01b2a882 (patch)
tree14f2a93c339b7ee998f43efc4f7ca5636bd19f49 /test/ectest.c
parent755031d921add2e1261dec6c13bb85b0f20c77ca (diff)
skip inappropriate X25519 tests
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'test/ectest.c')
-rw-r--r--test/ectest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ectest.c b/test/ectest.c
index b0fbcdc612..bbc7ed0ac9 100644
--- a/test/ectest.c
+++ b/test/ectest.c
@@ -1417,6 +1417,12 @@ static void internal_curve_test(void)
for (n = 0; n < crv_len; n++) {
EC_GROUP *group = NULL;
int nid = curves[n].nid;
+ /*
+ * Skip for X25519 because low level operations such as EC_POINT_mul()
+ * are not supported for this curve
+ */
+ if (nid == NID_X25519)
+ continue;
fprintf(stdout, "%s:\n", OBJ_nid2sn(nid));
fflush(stdout);
if ((group = EC_GROUP_new_by_curve_name(nid)) == NULL) {