summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--misc.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 095c560d0..de41b8468 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -168,6 +168,7 @@
168 - deraadt@cvs.openbsd.org 2001/03/04 18:21:28 168 - deraadt@cvs.openbsd.org 2001/03/04 18:21:28
169 [sshd.8] 169 [sshd.8]
170 list SSH2 ciphers 170 list SSH2 ciphers
171 - (bal) Put HAVE_PW_CLASS_IN_PASSWD back into pwcopy()
171 172
17220010304 17320010304
173 - (bal) Remove make-ssh-known-hosts.1 since it's no longer valid. 174 - (bal) Remove make-ssh-known-hosts.1 since it's no longer valid.
@@ -4360,4 +4361,4 @@
4360 - Wrote replacements for strlcpy and mkdtemp 4361 - Wrote replacements for strlcpy and mkdtemp
4361 - Released 1.0pre1 4362 - Released 1.0pre1
4362 4363
4363$Id: ChangeLog,v 1.903 2001/03/05 07:48:45 mouring Exp $ 4364$Id: ChangeLog,v 1.904 2001/03/05 07:57:09 mouring Exp $
diff --git a/misc.c b/misc.c
index 24f7df597..495b0290d 100644
--- a/misc.c
+++ b/misc.c
@@ -108,7 +108,9 @@ pwcopy(struct passwd *pw)
108 copy->pw_gecos = xstrdup(pw->pw_gecos); 108 copy->pw_gecos = xstrdup(pw->pw_gecos);
109 copy->pw_uid = pw->pw_uid; 109 copy->pw_uid = pw->pw_uid;
110 copy->pw_gid = pw->pw_gid; 110 copy->pw_gid = pw->pw_gid;
111#ifdef HAVE_PW_CLASS_IN_PASSWD
111 copy->pw_class = xstrdup(pw->pw_class); 112 copy->pw_class = xstrdup(pw->pw_class);
113#endif
112 copy->pw_dir = xstrdup(pw->pw_dir); 114 copy->pw_dir = xstrdup(pw->pw_dir);
113 copy->pw_shell = xstrdup(pw->pw_shell); 115 copy->pw_shell = xstrdup(pw->pw_shell);
114 return copy; 116 return copy;