summaryrefslogtreecommitdiffstats
path: root/key.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2014-07-19 07:23:55 +1000
committerDarren Tucker <dtucker@zip.com.au>2014-07-19 07:23:55 +1000
commitd1a0421f8e5e933fee6fb58ee6b9a22c63c8a613 (patch)
tree3c065c3739686cbca02914fc6533e2dee92ae245 /key.c
parentf0fe9ea1be62227c130b317769de3d1e736b6dc1 (diff)
- (dtucker) [key.c sshkey.c] Put new ecdsa bits inside ifdef OPENSSL_HAS_ECC.
Diffstat (limited to 'key.c')
-rw-r--r--key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/key.c b/key.c
index a8532061..84bbeae3 100644
--- a/key.c
+++ b/key.c
@@ -255,7 +255,7 @@ key_cert_check_authority(const Key *k, int want_host, int require_principal,
return 0;
}
-#ifdef WITH_OPENSSL
+#if defined(WITH_OPENSSL) && defined(OPENSSL_HAS_ECC)
int
key_ec_validate_public(const EC_GROUP *group, const EC_POINT *public)
{