summaryrefslogtreecommitdiff
path: root/ssh-keysign.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-07-03 03:56:25 +0000
committerDamien Miller <djm@mindrot.org>2015-07-15 15:36:02 +1000
commitb1f383da5cd3cb921fc7776f17a14f44b8a31757 (patch)
treeaf76f1c0c02a2688e66c27623ad8e3d0adc89ab2 /ssh-keysign.c
parent933935ce8d093996c34d7efa4d59113163080680 (diff)
upstream commit
add an XXX reminder for getting correct key paths from sshd_config Upstream-ID: feae52b209d7782ad742df04a4260e9fe41741db
Diffstat (limited to 'ssh-keysign.c')
-rw-r--r--ssh-keysign.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c
index 56882027e..1dca3e289 100644
--- a/ssh-keysign.c
+++ b/ssh-keysign.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keysign.c,v 1.48 2015/03/24 20:09:11 markus Exp $ */ 1/* $OpenBSD: ssh-keysign.c,v 1.49 2015/07/03 03:56:25 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2002 Markus Friedl. All rights reserved. 3 * Copyright (c) 2002 Markus Friedl. All rights reserved.
4 * 4 *
@@ -187,6 +187,7 @@ main(int argc, char **argv)
187 close(fd); 187 close(fd);
188 188
189 i = 0; 189 i = 0;
190 /* XXX This really needs to read sshd_config for the paths */
190 key_fd[i++] = open(_PATH_HOST_DSA_KEY_FILE, O_RDONLY); 191 key_fd[i++] = open(_PATH_HOST_DSA_KEY_FILE, O_RDONLY);
191 key_fd[i++] = open(_PATH_HOST_ECDSA_KEY_FILE, O_RDONLY); 192 key_fd[i++] = open(_PATH_HOST_ECDSA_KEY_FILE, O_RDONLY);
192 key_fd[i++] = open(_PATH_HOST_ED25519_KEY_FILE, O_RDONLY); 193 key_fd[i++] = open(_PATH_HOST_ED25519_KEY_FILE, O_RDONLY);