diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-16 04:00:02 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-16 04:00:02 +0200 |
commit | 15f33866a6fb9e67f2a89f5edc8b8c7635f6d984 (patch) | |
tree | 71e6283773761cceccd9bca3341348f6a073d333 /sshd.c | |
parent | - (djm) Convert mandoc manpages to man automatically. Patch from Mark D. (diff) | |
download | openssh-15f33866a6fb9e67f2a89f5edc8b8c7635f6d984.tar.xz openssh-15f33866a6fb9e67f2a89f5edc8b8c7635f6d984.zip |
- 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
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 <openssl/dh.h> #include <openssl/bn.h> @@ -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; } |