diff options
author | Justus Winter <justus@g10code.com> | 2016-03-14 16:31:57 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-03-21 18:38:57 +0100 |
commit | 9a54f91bb770376024d17ce630c9582b80c6e4c6 (patch) | |
tree | 4e2ee68ee004133e3e308d53ffc5a4cb99cd18f1 /tests/unittests/torture_pki.c | |
parent | 16d58e93afe2b780d140d53f50a48c049f6ce728 (diff) | |
download | libssh-9a54f91bb770376024d17ce630c9582b80c6e4c6.tar.gz libssh-9a54f91bb770376024d17ce630c9582b80c6e4c6.tar.xz libssh-9a54f91bb770376024d17ce630c9582b80c6e4c6.zip |
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>
Diffstat (limited to 'tests/unittests/torture_pki.c')
-rw-r--r-- | tests/unittests/torture_pki.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |