summaryrefslogtreecommitdiffstats
path: root/test/ectest.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2017-08-10 16:45:18 +0100
committerDr. Stephen Henson <steve@openssl.org>2017-08-10 16:45:18 +0100
commitf50b5f37a328d354b6e1d5ac44a352ef8c3d90c8 (patch)
tree25e4643c8fc6f1460dc08e8fed5c494483d76d4b /test/ectest.c
parent180c3fc7754f098b385c9a978491a2d468092bca (diff)
Fix no-ec
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4134)
Diffstat (limited to 'test/ectest.c')
-rw-r--r--test/ectest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ectest.c b/test/ectest.c
index fb6027b8e5..80e10013a8 100644
--- a/test/ectest.c
+++ b/test/ectest.c
@@ -1452,5 +1452,7 @@ int setup_tests(void)
void cleanup_tests(void)
{
+#ifndef OPENSSL_NO_EC
OPENSSL_free(curves);
+#endif
}