diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ssh-keyscan.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -5,6 +5,9 @@ | |||
5 | ignore enviornment variables with embedded '=' or '\0' characters; | 5 | ignore enviornment variables with embedded '=' or '\0' characters; |
6 | spotted by Jann Horn; ok deraadt@ | 6 | spotted by Jann Horn; ok deraadt@ |
7 | Id sync only - portable already has this. | 7 | Id sync only - portable already has this. |
8 | - djm@cvs.openbsd.org 2014/03/12 04:44:58 | ||
9 | [ssh-keyscan.c] | ||
10 | scan for Ed25519 keys by default too | ||
8 | 11 | ||
9 | 20140401 | 12 | 20140401 |
10 | - (djm) On platforms that support it, use prctl() to prevent sftp-server | 13 | - (djm) On platforms that support it, use prctl() to prevent sftp-server |
diff --git a/ssh-keyscan.c b/ssh-keyscan.c index 8d0a6b8d8..5d77dcfd2 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keyscan.c,v 1.89 2013/12/06 13:39:49 markus Exp $ */ | 1 | /* $OpenBSD: ssh-keyscan.c,v 1.90 2014/03/12 04:44:58 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. | 3 | * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. |
4 | * | 4 | * |
@@ -58,7 +58,7 @@ int ssh_port = SSH_DEFAULT_PORT; | |||
58 | #define KT_ECDSA 8 | 58 | #define KT_ECDSA 8 |
59 | #define KT_ED25519 16 | 59 | #define KT_ED25519 16 |
60 | 60 | ||
61 | int get_keytypes = KT_RSA|KT_ECDSA;/* Get RSA and ECDSA keys by default */ | 61 | int get_keytypes = KT_RSA|KT_ECDSA|KT_ED25519; |
62 | 62 | ||
63 | int hash_hosts = 0; /* Hash hostname on output */ | 63 | int hash_hosts = 0; /* Hash hostname on output */ |
64 | 64 | ||