summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDug Song <dugsong@cvs.openbsd.org>1999-09-29 18:27:24 +0000
committerDug Song <dugsong@cvs.openbsd.org>1999-09-29 18:27:24 +0000
commite5d50dad19794835d4b553eed7348c57a12fdb3d (patch)
treecfe16afca03484eabfff49336311ee89fcc6208b
parent18b0e3d63d164640aae60cdba4b8171c56a9e1f1 (diff)
global original_real_uid
-rw-r--r--usr.bin/ssh/ssh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 0ff702eba61..1dd225aa0a4 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -18,7 +18,7 @@ Modified to work with SSL by Niels Provos <provos@citi.umich.edu> in Canada.
*/
#include "includes.h"
-RCSID("$Id: ssh.c,v 1.9 1999/09/29 18:16:20 dugsong Exp $");
+RCSID("$Id: ssh.c,v 1.10 1999/09/29 18:27:23 dugsong Exp $");
#include "xmalloc.h"
#include "ssh.h"
@@ -75,6 +75,8 @@ int host_private_key_loaded = 0;
/* Host private key. */
RSA *host_private_key = NULL;
+/* Original real UID. */
+uid_t original_real_uid;
/* Prints a help message to the user. This function never returns. */
@@ -179,7 +181,6 @@ main(int ac, char **av)
struct stat st;
struct passwd *pw, pwcopy;
int interactive = 0, dummy;
- static uid_t original_real_uid;
uid_t original_effective_uid;
int plen;