summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sshd.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ec7a5e0aa..e89683a86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,9 @@
15 - stevesk@cvs.openbsd.org 2002/06/22 16:32:54 15 - stevesk@cvs.openbsd.org 2002/06/22 16:32:54
16 [sshd.8] 16 [sshd.8]
17 add /var/empty in FILES section 17 add /var/empty in FILES section
18 - stevesk@cvs.openbsd.org 2002/06/22 16:40:19
19 [sshd.c]
20 check /var/empty owner mode; ok provos@
18 21
1920020622 2220020622
20 - (djm) Update README.privsep; spotted by fries@ 23 - (djm) Update README.privsep; spotted by fries@
@@ -1024,4 +1027,4 @@
1024 - (stevesk) entropy.c: typo in debug message 1027 - (stevesk) entropy.c: typo in debug message
1025 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 1028 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
1026 1029
1027$Id: ChangeLog,v 1.2248 2002/06/23 00:32:57 mouring Exp $ 1030$Id: ChangeLog,v 1.2249 2002/06/23 00:33:47 mouring Exp $
diff --git a/sshd.c b/sshd.c
index feea3ce2c..d60b13d66 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.246 2002/06/20 23:05:56 markus Exp $"); 45RCSID("$OpenBSD: sshd.c,v 1.247 2002/06/22 16:40:19 stevesk Exp $");
46 46
47#include <openssl/dh.h> 47#include <openssl/dh.h>
48#include <openssl/bn.h> 48#include <openssl/bn.h>
@@ -1012,6 +1012,9 @@ main(int ac, char **av)
1012 (S_ISDIR(st.st_mode) == 0)) 1012 (S_ISDIR(st.st_mode) == 0))
1013 fatal("Missing privilege separation directory: %s", 1013 fatal("Missing privilege separation directory: %s",
1014 _PATH_PRIVSEP_CHROOT_DIR); 1014 _PATH_PRIVSEP_CHROOT_DIR);
1015 if (st.st_uid != 0 || (st.st_mode & (S_IWGRP|S_IWOTH)) != 0)
1016 fatal("Bad owner or mode for %s",
1017 _PATH_PRIVSEP_CHROOT_DIR);
1015 } 1018 }
1016 1019
1017 /* Configuration looks good, so exit if in test mode. */ 1020 /* Configuration looks good, so exit if in test mode. */