summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--servconf.c2
-rw-r--r--ssh-add.c2
-rw-r--r--ssh-keygen.c2
4 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 21ab0c309..601692cea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
120101111
2 - (djm) [servconf.c ssh-add.c ssh-keygen.c] don't look for ECDSA keys on
3 platforms that don't support ECC. Fixes some spurious warnings reported
4 by tim@
5
120101109 620101109
2 - (tim) [regress/kextype.sh] Not all platforms have time in /usr/bin. 7 - (tim) [regress/kextype.sh] Not all platforms have time in /usr/bin.
3 Feedback from dtucker@ 8 Feedback from dtucker@
diff --git a/servconf.c b/servconf.c
index 41c9c6964..4e5fd2f04 100644
--- a/servconf.c
+++ b/servconf.c
@@ -155,8 +155,10 @@ fill_default_server_options(ServerOptions *options)
155 _PATH_HOST_RSA_KEY_FILE; 155 _PATH_HOST_RSA_KEY_FILE;
156 options->host_key_files[options->num_host_key_files++] = 156 options->host_key_files[options->num_host_key_files++] =
157 _PATH_HOST_DSA_KEY_FILE; 157 _PATH_HOST_DSA_KEY_FILE;
158#ifdef OPENSSL_HAS_ECC
158 options->host_key_files[options->num_host_key_files++] = 159 options->host_key_files[options->num_host_key_files++] =
159 _PATH_HOST_ECDSA_KEY_FILE; 160 _PATH_HOST_ECDSA_KEY_FILE;
161#endif
160 } 162 }
161 } 163 }
162 /* No certificates by default */ 164 /* No certificates by default */
diff --git a/ssh-add.c b/ssh-add.c
index 8bf5675fb..125d6645b 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -70,7 +70,9 @@ extern char *__progname;
70static char *default_files[] = { 70static char *default_files[] = {
71 _PATH_SSH_CLIENT_ID_RSA, 71 _PATH_SSH_CLIENT_ID_RSA,
72 _PATH_SSH_CLIENT_ID_DSA, 72 _PATH_SSH_CLIENT_ID_DSA,
73#ifdef OPENSSL_HAS_ECC
73 _PATH_SSH_CLIENT_ID_ECDSA, 74 _PATH_SSH_CLIENT_ID_ECDSA,
75#endif
74 _PATH_SSH_CLIENT_IDENTITY, 76 _PATH_SSH_CLIENT_IDENTITY,
75 NULL 77 NULL
76}; 78};
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 560c4818a..b9fd10abc 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -177,10 +177,12 @@ ask_filename(struct passwd *pw, const char *prompt)
177 case KEY_DSA: 177 case KEY_DSA:
178 name = _PATH_SSH_CLIENT_ID_DSA; 178 name = _PATH_SSH_CLIENT_ID_DSA;
179 break; 179 break;
180#ifdef OPENSSL_HAS_ECC
180 case KEY_ECDSA_CERT: 181 case KEY_ECDSA_CERT:
181 case KEY_ECDSA: 182 case KEY_ECDSA:
182 name = _PATH_SSH_CLIENT_ID_ECDSA; 183 name = _PATH_SSH_CLIENT_ID_ECDSA;
183 break; 184 break;
185#endif
184 case KEY_RSA_CERT: 186 case KEY_RSA_CERT:
185 case KEY_RSA_CERT_V00: 187 case KEY_RSA_CERT_V00:
186 case KEY_RSA: 188 case KEY_RSA: