From 9a54f91bb770376024d17ce630c9582b80c6e4c6 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 14 Mar 2016 16:31:57 +0100 Subject: [PATCH] torture: Fix guard * tests/unittests/torture_pki.c (setup_ecdsa_key*): Check for 'HAVE_ECC' instead of 'HAVE_OPENSSL_ECC'. Signed-off-by: Justus Winter Reviewed-by: Andreas Schneider --- tests/unittests/torture_pki.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittests/torture_pki.c b/tests/unittests/torture_pki.c index 41fa4521..a2bfdbc6 100644 --- a/tests/unittests/torture_pki.c +++ b/tests/unittests/torture_pki.c @@ -47,7 +47,7 @@ static int setup_dsa_key(void **state) { return 0; } -#ifdef HAVE_OPENSSL_ECC +#ifdef HAVE_ECC static int setup_ecdsa_key(void **state, int ecdsa_bits) { (void) state; /* unused */