summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-22 03:14:45 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-22 03:14:45 +0000
commit1ee9ec32a36e6692dd619e784248768bdd5f853e (patch)
tree71f6ca979cc6c9d1a9cd5374e0ba6067ad381853 /sshd.c
parentc7431341911e911993776c357ca57d1fb7ed1b23 (diff)
- markus@cvs.openbsd.org 2002/03/21 10:21:20
[ssh-add.c] ignore errors for nonexisting default keys in ssh-add, fixes http://bugzilla.mindrot.org/show_bug.cgi?id=158
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index dc109815f..26124b777 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
42 */ 42 */
43 43
44#include "includes.h" 44#include "includes.h"
45RCSID("$OpenBSD: sshd.c,v 1.235 2002/03/20 19:12:25 stevesk Exp $"); 45RCSID("$OpenBSD: sshd.c,v 1.236 2002/03/20 21:08:08 stevesk Exp $");
46 46
47#include <openssl/dh.h> 47#include <openssl/dh.h>
48#include <openssl/bn.h> 48#include <openssl/bn.h>
@@ -543,7 +543,7 @@ privsep_preauth_child(void)
543 fatal("chroot(\"%s\"): %s", _PATH_PRIVSEP_CHROOT_DIR, 543 fatal("chroot(\"%s\"): %s", _PATH_PRIVSEP_CHROOT_DIR,
544 strerror(errno)); 544 strerror(errno));
545 if (chdir("/") == -1) 545 if (chdir("/") == -1)
546 fatal("chdir(/)"); 546 fatal("chdir(\"/\"): %s", strerror(errno));
547 547
548 /* Drop our privileges */ 548 /* Drop our privileges */
549 debug3("privsep user:group %u:%u", (u_int)pw->pw_uid, 549 debug3("privsep user:group %u:%u", (u_int)pw->pw_uid,