summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-22 02:54:23 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-22 02:54:23 +0000
commit6328ab39891ea64ccd5c91e9be2ec5c4f843bbd0 (patch)
tree1cbd94cc201fc901cf33ea52191421eda89e6dd0 /sshd.c
parent08105192fdb9441284ac37e309f6359d74aee596 (diff)
- markus@cvs.openbsd.org 2002/03/19 10:49:35
[auth-krb5.c auth-rh-rsa.c auth.c cipher.c key.c misc.h packet.c session.c sftp-client.c sftp-glob.h sftp.c ssh-add.c ssh.c sshconnect2.c sshd.c ttymodes.c] KNF whitespace
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sshd.c b/sshd.c
index d34b1a79d..b6e71d84a 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.233 2002/03/19 10:35:39 markus Exp $"); 45RCSID("$OpenBSD: sshd.c,v 1.234 2002/03/19 10:49:35 markus Exp $");
46 46
47#include <openssl/dh.h> 47#include <openssl/dh.h>
48#include <openssl/bn.h> 48#include <openssl/bn.h>
@@ -538,7 +538,7 @@ privsep_preauth_child(void)
538 strerror(errno)); 538 strerror(errno));
539 if (chdir("/") == -1) 539 if (chdir("/") == -1)
540 fatal("chdir(/)"); 540 fatal("chdir(/)");
541 541
542 /* Drop our privileges */ 542 /* Drop our privileges */
543 setegid(options.unprivileged_group); 543 setegid(options.unprivileged_group);
544 setgid(options.unprivileged_group); 544 setgid(options.unprivileged_group);
@@ -564,7 +564,7 @@ privsep_postauth(Authctxt *authctxt, pid_t pid)
564 use_privsep = 0; 564 use_privsep = 0;
565 return; 565 return;
566 } 566 }
567 567
568 /* Authentication complete */ 568 /* Authentication complete */
569 alarm(0); 569 alarm(0);
570 if (startup_pipe != -1) { 570 if (startup_pipe != -1) {
@@ -1376,7 +1376,7 @@ main(int ac, char **av)
1376 1376
1377 if (!use_privsep) 1377 if (!use_privsep)
1378 goto skip_privilegeseparation; 1378 goto skip_privilegeseparation;
1379 1379
1380 /* Set up unprivileged child process to deal with network data */ 1380 /* Set up unprivileged child process to deal with network data */
1381 monitor = monitor_init(); 1381 monitor = monitor_init();
1382 /* Store a pointer to the kex for later rekeying */ 1382 /* Store a pointer to the kex for later rekeying */
@@ -1422,7 +1422,7 @@ main(int ac, char **av)
1422 exit(0); 1422 exit(0);
1423 1423
1424 authenticated: 1424 authenticated:
1425 /* 1425 /*
1426 * In privilege separation, we fork another child and prepare 1426 * In privilege separation, we fork another child and prepare
1427 * file descriptor passing. 1427 * file descriptor passing.
1428 */ 1428 */