]> andersk Git - openssh.git/blobdiff - auth1.c
- (djm) Pick up LOGIN_PROGRAM from environment or PATH if not set by headers
[openssh.git] / auth1.c
diff --git a/auth1.c b/auth1.c
index d8f2652e36d0db01c039379c013bdb61666db324..b043e8a953d08cae1a11d3eba866300364fabd7b 100644 (file)
--- a/auth1.c
+++ b/auth1.c
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: auth1.c,v 1.2 2000/04/29 18:11:52 markus Exp $");
+RCSID("$OpenBSD: auth1.c,v 1.3 2000/08/20 18:42:40 millert Exp $");
 
 #include "xmalloc.h"
 #include "rsa.h"
@@ -480,6 +480,9 @@ do_authentication()
        pwcopy.pw_passwd = xstrdup(pw->pw_passwd);
        pwcopy.pw_uid = pw->pw_uid;
        pwcopy.pw_gid = pw->pw_gid;
+#ifdef HAVE_PW_CLASS_IN_PASSWD
+       pwcopy.pw_class = xstrdup(pw->pw_class);
+#endif
        pwcopy.pw_dir = xstrdup(pw->pw_dir);
        pwcopy.pw_shell = xstrdup(pw->pw_shell);
        pw = &pwcopy;
This page took 0.050323 seconds and 4 git commands to generate.