aboutsummaryrefslogtreecommitdiffstats
path: root/test/evp_extra_test.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-06-08 11:20:34 +0100
committerMatt Caswell <matt@openssl.org>2018-06-08 16:45:04 +0100
commit896dcb80651bd92546b73f4eac62bc211fca5a7d (patch)
tree040e5ecdb90a60f7c1e3f975fa653af596f70f95 /test/evp_extra_test.c
parentc8a56217f9e00430d4cf20b70246ee049f285da6 (diff)
downloadopenssl-896dcb80651bd92546b73f4eac62bc211fca5a7d.tar.gz
Fix no-ec
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6437)
Diffstat (limited to 'test/evp_extra_test.c')
-rw-r--r--test/evp_extra_test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c
index fd461c9fa8..640da7c765 100644
--- a/test/evp_extra_test.c
+++ b/test/evp_extra_test.c
@@ -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)