diff options
author | djm@openbsd.org <djm@openbsd.org> | 2024-01-11 02:45:36 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2024-01-11 05:46:22 +0100 |
commit | 4e838120a759d187b036036610402cbda33f3203 (patch) | |
tree | 52d820a837210c51e6d7491bad1d1fb35cbb77f5 /ssh-keysign.c | |
parent | upstream: fix incorrect capitalisation; (diff) | |
download | openssh-4e838120a759d187b036036610402cbda33f3203.tar.xz openssh-4e838120a759d187b036036610402cbda33f3203.zip |
upstream: make DSA key support compile-time optional, defaulting to
on
ok markus@
OpenBSD-Commit-ID: 4f8e98fc1fd6de399d0921d5b31b3127a03f581d
Diffstat (limited to 'ssh-keysign.c')
-rw-r--r-- | ssh-keysign.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c index b989f5e94..29bd65351 100644 --- a/ssh-keysign.c +++ b/ssh-keysign.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keysign.c,v 1.71 2022/08/01 11:09:26 djm Exp $ */ +/* $OpenBSD: ssh-keysign.c,v 1.72 2024/01/11 01:45:36 djm Exp $ */ /* * Copyright (c) 2002 Markus Friedl. All rights reserved. * @@ -197,7 +197,9 @@ main(int argc, char **argv) i = 0; /* XXX This really needs to read sshd_config for the paths */ +#ifdef WITH_DSA key_fd[i++] = open(_PATH_HOST_DSA_KEY_FILE, O_RDONLY); +#endif key_fd[i++] = open(_PATH_HOST_ECDSA_KEY_FILE, O_RDONLY); key_fd[i++] = open(_PATH_HOST_ED25519_KEY_FILE, O_RDONLY); key_fd[i++] = open(_PATH_HOST_XMSS_KEY_FILE, O_RDONLY); |