freebsd-ports/security/openssh/files/patch-misc.c
Dirk Meyer 152bebfc5c - 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.
2001-06-08 08:03:26 +00:00

13 lines
356 B
C

--- 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;
}