diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sshconnect.c | 11 |
2 files changed, 12 insertions, 2 deletions
@@ -66,6 +66,9 @@ | |||
66 | - djm@cvs.openbsd.org 2013/12/29 05:42:16 | 66 | - djm@cvs.openbsd.org 2013/12/29 05:42:16 |
67 | [ssh.c] | 67 | [ssh.c] |
68 | don't forget to load Ed25519 certs too | 68 | don't forget to load Ed25519 certs too |
69 | - djm@cvs.openbsd.org 2013/12/29 05:57:02 | ||
70 | [sshconnect.c] | ||
71 | when showing other hostkeys, don't forget Ed25519 keys | ||
69 | 72 | ||
70 | 20131221 | 73 | 20131221 |
71 | - (dtucker) [regress/keytype.sh] Actually test ecdsa key types. | 74 | - (dtucker) [regress/keytype.sh] Actually test ecdsa key types. |
diff --git a/sshconnect.c b/sshconnect.c index 3cdc46149..b492ce915 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.c,v 1.241 2013/10/16 02:31:46 djm Exp $ */ | 1 | /* $OpenBSD: sshconnect.c,v 1.242 2013/12/29 05:57:02 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1301,7 +1301,14 @@ ssh_put_password(char *password) | |||
1301 | static int | 1301 | static int |
1302 | show_other_keys(struct hostkeys *hostkeys, Key *key) | 1302 | show_other_keys(struct hostkeys *hostkeys, Key *key) |
1303 | { | 1303 | { |
1304 | int type[] = { KEY_RSA1, KEY_RSA, KEY_DSA, KEY_ECDSA, -1}; | 1304 | int type[] = { |
1305 | KEY_RSA1, | ||
1306 | KEY_RSA, | ||
1307 | KEY_DSA, | ||
1308 | KEY_ECDSA, | ||
1309 | KEY_ED25519, | ||
1310 | -1 | ||
1311 | }; | ||
1305 | int i, ret = 0; | 1312 | int i, ret = 0; |
1306 | char *fp, *ra; | 1313 | char *fp, *ra; |
1307 | const struct hostkey_entry *found; | 1314 | const struct hostkey_entry *found; |