summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-04-30 23:10:43 +0000
committerDamien Miller <djm@mindrot.org>2017-05-01 09:37:40 +1000
commit56912dea6ef63dae4eb1194e5d88973a7c6c5740 (patch)
treec0425585449d257a90a42efce5f602f7ce16779f /ssh-keygen.c
parentd4084cd230f7319056559b00db8b99296dad49d5 (diff)
upstream commit
unifdef WITH_SSH1 ok markus@ Upstream-ID: 9716e62a883ef8826c57f4d33b4a81a9cc7755c7
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index c0d2d5942..70d421844 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.300 2017/04/29 04:12:25 djm Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.301 2017/04/30 23:10:43 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -987,9 +987,6 @@ do_gen_all_hostkeys(struct passwd *pw)
987 char *path; 987 char *path;
988 } key_types[] = { 988 } key_types[] = {
989#ifdef WITH_OPENSSL 989#ifdef WITH_OPENSSL
990#ifdef WITH_SSH1
991 { "rsa1", "RSA1", _PATH_HOST_KEY_FILE },
992#endif /* WITH_SSH1 */
993 { "rsa", "RSA" ,_PATH_HOST_RSA_KEY_FILE }, 990 { "rsa", "RSA" ,_PATH_HOST_RSA_KEY_FILE },
994 { "dsa", "DSA", _PATH_HOST_DSA_KEY_FILE }, 991 { "dsa", "DSA", _PATH_HOST_DSA_KEY_FILE },
995#ifdef OPENSSL_HAS_ECC 992#ifdef OPENSSL_HAS_ECC
@@ -2244,11 +2241,7 @@ do_check_krl(struct passwd *pw, int argc, char **argv)
2244 exit(ret); 2241 exit(ret);
2245} 2242}
2246 2243
2247#ifdef WITH_SSH1
2248# define RSA1_USAGE " | rsa1"
2249#else
2250# define RSA1_USAGE "" 2244# define RSA1_USAGE ""
2251#endif
2252 2245
2253static void 2246static void
2254usage(void) 2247usage(void)