mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 18:50:28 +09:00
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:
committed by
Andreas Schneider
parent
16d58e93af
commit
9a54f91bb7
@@ -47,7 +47,7 @@ static int setup_dsa_key(void **state) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_OPENSSL_ECC
|
#ifdef HAVE_ECC
|
||||||
static int setup_ecdsa_key(void **state, int ecdsa_bits) {
|
static int setup_ecdsa_key(void **state, int ecdsa_bits) {
|
||||||
|
|
||||||
(void) state; /* unused */
|
(void) state; /* unused */
|
||||||
|
|||||||
Reference in New Issue
Block a user