diff options
-rw-r--r-- | tests/unittests/torture_pki_ecdsa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/torture_pki_ecdsa.c b/tests/unittests/torture_pki_ecdsa.c index 6587a60d..e9939d56 100644 --- a/tests/unittests/torture_pki_ecdsa.c +++ b/tests/unittests/torture_pki_ecdsa.c @@ -338,6 +338,7 @@ static void torture_pki_generate_key_ecdsa(void **state) ssh_free(session); } +#ifdef HAVE_LIBCRYPTO static void torture_pki_ecdsa_write_privkey(void **state) { ssh_key origkey; @@ -412,6 +413,7 @@ static void torture_pki_ecdsa_write_privkey(void **state) ssh_key_free(origkey); ssh_key_free(privkey); } +#endif /* HAVE_LIBCRYPTO */ static void torture_pki_ecdsa_name(void **state, const char *expected_name) { |