summaryrefslogtreecommitdiff
path: root/key.c
diff options
context:
space:
mode:
authordtucker <dtucker>2014-07-18 21:23:55 +0000
committerdtucker <dtucker>2014-07-18 21:23:55 +0000
commit64f2ac123893882bed59c0020aa5d24fdc10edfc (patch)
tree5d657131d0738ee96bd15e74bf5ae052e91aef2d /key.c
parent08efca2f639302b55fe28dbf1468aad8d916eb61 (diff)
downloadopenssh-64f2ac123893882bed59c0020aa5d24fdc10edfc.tar.gz
- (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)
{