summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-misc.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-06-08 08:03:26 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-06-08 08:03:26 +0000
commit152bebfc5c11696e27e8888b15c88231c17de8f6 (patch)
tree5ae42a021bb250161557470661927c397d63ef39 /security/openssh/files/patch-misc.c
parentUpdate to pan 0.9.7 "Just Another Victim of the Ambient Morality" (diff)
- Update from OpenSSH 2.2.0 to OpenSSH 2.9
- Features: Possible use of sftp/sftp-server with older FreeBSD releases. Use a newer version independently from the Base system. Easier to test and fix possible security bugs. - Bugs: build of pam_ssm.so isn't be supported any more Any file named "cookie" can be deleted by this and any older "sshd" with X11 Forwarding.
Diffstat (limited to 'security/openssh/files/patch-misc.c')
-rw-r--r--security/openssh/files/patch-misc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/openssh/files/patch-misc.c b/security/openssh/files/patch-misc.c
new file mode 100644
index 000000000000..0f8ef065fec0
--- /dev/null
+++ b/security/openssh/files/patch-misc.c
@@ -0,0 +1,13 @@
+--- misc.c.orig Thu Apr 12 22:09:37 2001
++++ misc.c Sat May 26 15:39:25 2001
+@@ -111,6 +111,10 @@
+ copy->pw_class = xstrdup(pw->pw_class);
+ copy->pw_dir = xstrdup(pw->pw_dir);
+ copy->pw_shell = xstrdup(pw->pw_shell);
++#ifdef __FreeBSD__
++ copy->pw_expire = pw->pw_expire;
++ copy->pw_change = pw->pw_change;
++#endif /* __FreeBSD__ */
+ return copy;
+ }
+