summaryrefslogtreecommitdiff
path: root/ssh-keysign.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2015-08-22 10:05:45 +0100
committerColin Watson <cjwatson@debian.org>2015-08-22 10:05:45 +0100
commit58ddb8ad21f21f5358db0204c4ba9abf94a1ca11 (patch)
treec55df1f23e6fa0fb87a96d8ec4c06a68c3a82b45 /ssh-keysign.c
parent544df7a04ae5b5c1fc30be7c445ad685d7a02dc9 (diff)
parent1dc8d93ce69d6565747eb44446ed117187621b26 (diff)
Import openssh_7.0p1.orig.tar.gz
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);