]> andersk Git - openssh.git/commitdiff
- (bal) Put HAVE_PW_CLASS_IN_PASSWD back into pwcopy()
authormouring <mouring>
Mon, 5 Mar 2001 07:57:09 +0000 (07:57 +0000)
committermouring <mouring>
Mon, 5 Mar 2001 07:57:09 +0000 (07:57 +0000)
ChangeLog
misc.c

index c62577e120a3b0155c5a138eba9cf89e395a6f5c..74b2c013508f67e4a11a08c77e8b0bc7f04dfb00 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
    - deraadt@cvs.openbsd.org 2001/03/04 18:21:28
      [sshd.8]
      list SSH2 ciphers
+ - (bal) Put HAVE_PW_CLASS_IN_PASSWD back into pwcopy()
 
 20010304
  - (bal) Remove make-ssh-known-hosts.1 since it's no longer valid.
diff --git a/misc.c b/misc.c
index 24f7df597db2b18fb503fc6878784f5685e8b781..495b0290d127c8b24096bc31e90377d7bfd381ca 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -108,7 +108,9 @@ pwcopy(struct passwd *pw)
        copy->pw_gecos = xstrdup(pw->pw_gecos);
        copy->pw_uid = pw->pw_uid;
        copy->pw_gid = pw->pw_gid;
+#ifdef HAVE_PW_CLASS_IN_PASSWD
        copy->pw_class = xstrdup(pw->pw_class);
+#endif
        copy->pw_dir = xstrdup(pw->pw_dir);
        copy->pw_shell = xstrdup(pw->pw_shell);
        return copy;
This page took 0.043334 seconds and 5 git commands to generate.