summaryrefslogtreecommitdiffstats
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2022-06-03 05:17:42 +0200
committerDarren Tucker <dtucker@dtucker.net>2022-06-03 05:38:19 +0200
commit88e376fcd67478ad1660d94bc73ab348ac9f4527 (patch)
tree875a8336f2d964f36c0e7fda77398d18884e20f5 /ssh-keygen.c
parentupstream: ssh-keygen: implement "verify-required" certificate option. (diff)
downloadopenssh-88e376fcd67478ad1660d94bc73ab348ac9f4527.tar.xz
openssh-88e376fcd67478ad1660d94bc73ab348ac9f4527.zip
upstream: ssh-keygen -A: do not generate DSA keys by default.
Based on github PR#303 from jsegitz with man page text from jmc@, ok markus@ djm@ OpenBSD-Commit-ID: 5c4c57bdd7063ff03381cfb6696659dd3f9f5b9f
Diffstat (limited to '')
-rw-r--r--ssh-keygen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 35e70a102..f122cbd1b 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keygen.c,v 1.453 2022/05/31 14:05:12 naddy Exp $ */
+/* $OpenBSD: ssh-keygen.c,v 1.454 2022/06/03 03:17:42 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1045,7 +1045,6 @@ do_gen_all_hostkeys(struct passwd *pw)
} key_types[] = {
#ifdef WITH_OPENSSL
{ "rsa", "RSA" ,_PATH_HOST_RSA_KEY_FILE },
- { "dsa", "DSA", _PATH_HOST_DSA_KEY_FILE },
#ifdef OPENSSL_HAS_ECC
{ "ecdsa", "ECDSA",_PATH_HOST_ECDSA_KEY_FILE },
#endif /* OPENSSL_HAS_ECC */