summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth1.c')
-rw-r--r--auth1.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/auth1.c b/auth1.c
index d8f2652e3..b043e8a95 100644
--- a/auth1.c
+++ b/auth1.c
@@ -4,7 +4,7 @@
4 */ 4 */
5 5
6#include "includes.h" 6#include "includes.h"
7RCSID("$OpenBSD: auth1.c,v 1.2 2000/04/29 18:11:52 markus Exp $"); 7RCSID("$OpenBSD: auth1.c,v 1.3 2000/08/20 18:42:40 millert Exp $");
8 8
9#include "xmalloc.h" 9#include "xmalloc.h"
10#include "rsa.h" 10#include "rsa.h"
@@ -480,6 +480,9 @@ do_authentication()
480 pwcopy.pw_passwd = xstrdup(pw->pw_passwd); 480 pwcopy.pw_passwd = xstrdup(pw->pw_passwd);
481 pwcopy.pw_uid = pw->pw_uid; 481 pwcopy.pw_uid = pw->pw_uid;
482 pwcopy.pw_gid = pw->pw_gid; 482 pwcopy.pw_gid = pw->pw_gid;
483#ifdef HAVE_PW_CLASS_IN_PASSWD
484 pwcopy.pw_class = xstrdup(pw->pw_class);
485#endif
483 pwcopy.pw_dir = xstrdup(pw->pw_dir); 486 pwcopy.pw_dir = xstrdup(pw->pw_dir);
484 pwcopy.pw_shell = xstrdup(pw->pw_shell); 487 pwcopy.pw_shell = xstrdup(pw->pw_shell);
485 pw = &pwcopy; 488 pw = &pwcopy;