Fix no-ec
authorMatt Caswell <matt@openssl.org>
Fri, 8 Jun 2018 10:20:34 +0000 (11:20 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 8 Jun 2018 15:45:04 +0000 (16:45 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6437)

test/evp_extra_test.c

index fd461c9fa8b104cccc42ab0b4aadad76b1dd66e2..640da7c765772597ce5838767c884e13ea001cfd 100644 (file)
@@ -488,7 +488,9 @@ static struct keys_st {
         EVP_PKEY_POLY1305, "01234567890123456789012345678901", NULL
     }, {
         EVP_PKEY_SIPHASH, "0123456789012345", NULL
-    }, {
+    },
+#ifndef OPENSSL_NO_EC
+    {
         EVP_PKEY_X25519, "01234567890123456789012345678901",
         "abcdefghijklmnopqrstuvwxyzabcdef"
     }, {
@@ -503,6 +505,7 @@ static struct keys_st {
         "012345678901234567890123456789012345678901234567890123456",
         "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcde"
     }
+#endif
 };
 
 static int test_set_get_raw_keys_int(int tst, int pub)