summaryrefslogtreecommitdiff
path: root/kex.c
diff options
context:
space:
mode:
authormouring <mouring>2002-03-22 02:30:41 +0000
committermouring <mouring>2002-03-22 02:30:41 +0000
commit6d64854999444aada91be4d47be88699ad1f4e6f (patch)
treeee1cddd388d36964cc391ffde6e075f69f4d44d3 /kex.c
parent9685f8ab6d677af52640e2ad6fe93f8d7c700d63 (diff)
downloadopenssh-6d64854999444aada91be4d47be88699ad1f4e6f.tar.gz
- provos@cvs.openbsd.org 2002/03/18 17:50:31
[auth-bsdauth.c auth-options.c auth-rh-rsa.c auth-rsa.c auth-skey.c auth.h auth1.c auth2-chall.c auth2.c kex.c kex.h kexdh.c kexgex.c servconf.c session.h servconf.h serverloop.c session.c sshd.c] integrate privilege separated openssh; its turned off by default for now. work done by me and markus@ applied, but outside of ensure that smaller code bits migrated with their owners.. no work was tried to 'fix' it to work. =) Later project!
Diffstat (limited to 'kex.c')
-rw-r--r--kex.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/kex.c b/kex.c
index bf8fd95b..8097ab0f 100644
--- a/kex.c
+++ b/kex.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: kex.c,v 1.47 2002/02/28 15:46:33 markus Exp $");
+RCSID("$OpenBSD: kex.c,v 1.48 2002/03/18 17:50:31 provos Exp $");
#include <openssl/crypto.h>
@@ -40,9 +40,15 @@ RCSID("$OpenBSD: kex.c,v 1.47 2002/02/28 15:46:33 markus Exp $");
#include "mac.h"
#include "match.h"
#include "dispatch.h"
+#include "monitor.h"
#define KEX_COOKIE_LEN 16
+/* Use privilege separation for sshd */
+int use_privsep;
+struct monitor *monitor;
+
+
/* prototype */
static void kex_kexinit_finish(Kex *);
static void kex_choose_conf(Kex *);