- (djm) [servconf.c ssh-add.c ssh-keygen.c] don't look for ECDSA keys on
platforms that don't support ECC. Fixes some spurious warnings reported
by tim@
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 560c481..b9fd10a 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -177,10 +177,12 @@
case KEY_DSA:
name = _PATH_SSH_CLIENT_ID_DSA;
break;
+#ifdef OPENSSL_HAS_ECC
case KEY_ECDSA_CERT:
case KEY_ECDSA:
name = _PATH_SSH_CLIENT_ID_ECDSA;
break;
+#endif
case KEY_RSA_CERT:
case KEY_RSA_CERT_V00:
case KEY_RSA: