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 <justus@g10code.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Justus Winter
2016-03-14 16:31:57 +01:00
committed by Andreas Schneider
parent 16d58e93af
commit 9a54f91bb7

View File

@@ -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 */