From ba8c80d1865153abfec7d00612976a30d9d5669e Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sat, 2 Sep 2000 03:56:57 +0000 Subject: Upgrade to ssh-2.3.0. PR: ports/20869 Submitted by: Issei Suzuki (Maintainer) --- security/ssh2/files/patch-ai | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'security/ssh2/files/patch-ai') diff --git a/security/ssh2/files/patch-ai b/security/ssh2/files/patch-ai index 022941dcb42f..4fdb60571ff5 100644 --- a/security/ssh2/files/patch-ai +++ b/security/ssh2/files/patch-ai @@ -1,6 +1,6 @@ ---- lib/sshsession/sshunixuser.c.orig Thu Mar 30 21:41:05 2000 -+++ lib/sshsession/sshunixuser.c Wed May 17 18:15:10 2000 -@@ -55,6 +55,10 @@ +--- lib/sshsession/sshunixuser.c.orig Thu Aug 24 17:40:39 2000 ++++ lib/sshsession/sshunixuser.c Sun Aug 27 01:21:57 2000 +@@ -86,6 +86,10 @@ #define SSH_DEBUG_MODULE "SshUnixUser" @@ -11,7 +11,7 @@ extern char *crypt(const char *key, const char *salt); /* Data type to hold machine-specific user data. */ -@@ -736,6 +740,24 @@ +@@ -1224,6 +1228,24 @@ /* Set uid, gid, and groups. */ if (getuid() == UID_ROOT || geteuid() == UID_ROOT) { @@ -36,11 +36,11 @@ if (setgid(ssh_user_gid(uc)) < 0) { SSH_DEBUG(2, ("ssh_user_become: setgid: %s", strerror(errno))); -@@ -773,6 +795,7 @@ - (int)ssh_user_uid(uc))); - return FALSE; +@@ -1280,6 +1302,7 @@ } + #endif /* HAVE_SIA */ + #endif /* SSHDIST_SESSION_SIA */ +#endif /* HAVE_LOGIN_CAP_H */ } - /* We are now running with the user's privileges. */ + #ifdef KERBEROS -- cgit v1.2.3