From 15f33866a6fb9e67f2a89f5edc8b8c7635f6d984 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Mon, 16 Apr 2001 02:00:02 +0000 Subject: - markus@cvs.openbsd.org 2001/04/15 16:58:03 [authfile.c ssh-keygen.c sshd.c] don't use errno for key_{load,save}_private; discussion w/ solar@openwall --- sshd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sshd.c') diff --git a/sshd.c b/sshd.c index d2c1cac09..552fa3b27 100644 --- a/sshd.c +++ b/sshd.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.194 2001/04/15 08:43:47 markus Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.195 2001/04/15 16:58:03 markus Exp $"); #include #include @@ -700,8 +700,8 @@ main(int ac, char **av) key = key_load_private(options.host_key_files[i], "", NULL); sensitive_data.host_keys[i] = key; if (key == NULL) { - error("Could not load host key: %.200s: %.100s", - options.host_key_files[i], strerror(errno)); + error("Could not load host key: %s", + options.host_key_files[i]); sensitive_data.host_keys[i] = NULL; continue; } -- cgit v1.2.3