summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-16 02:00:02 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-16 02:00:02 +0000
commit15f33866a6fb9e67f2a89f5edc8b8c7635f6d984 (patch)
tree71e6283773761cceccd9bca3341348f6a073d333 /sshd.c
parent897741eeaa0ebb5e2ce10a6b0ada8f3e55d22777 (diff)
- 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshd.c b/sshd.c
index d2c1cac09..552fa3b27 100644
--- a/sshd.c
+++ b/sshd.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: sshd.c,v 1.194 2001/04/15 08:43:47 markus Exp $"); 43RCSID("$OpenBSD: sshd.c,v 1.195 2001/04/15 16:58:03 markus Exp $");
44 44
45#include <openssl/dh.h> 45#include <openssl/dh.h>
46#include <openssl/bn.h> 46#include <openssl/bn.h>
@@ -700,8 +700,8 @@ main(int ac, char **av)
700 key = key_load_private(options.host_key_files[i], "", NULL); 700 key = key_load_private(options.host_key_files[i], "", NULL);
701 sensitive_data.host_keys[i] = key; 701 sensitive_data.host_keys[i] = key;
702 if (key == NULL) { 702 if (key == NULL) {
703 error("Could not load host key: %.200s: %.100s", 703 error("Could not load host key: %s",
704 options.host_key_files[i], strerror(errno)); 704 options.host_key_files[i]);
705 sensitive_data.host_keys[i] = NULL; 705 sensitive_data.host_keys[i] = NULL;
706 continue; 706 continue;
707 } 707 }