diff options
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -27,7 +27,7 @@ | |||
27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | */ | 28 | */ |
29 | #include "includes.h" | 29 | #include "includes.h" |
30 | RCSID("$OpenBSD: auth2.c,v 1.12 2000/07/07 03:55:03 todd Exp $"); | 30 | RCSID("$OpenBSD: auth2.c,v 1.13 2000/08/20 18:42:40 millert Exp $"); |
31 | 31 | ||
32 | #include <openssl/dsa.h> | 32 | #include <openssl/dsa.h> |
33 | #include <openssl/rsa.h> | 33 | #include <openssl/rsa.h> |
@@ -411,6 +411,9 @@ auth_set_user(char *u, char *s) | |||
411 | copy->pw_passwd = xstrdup(pw->pw_passwd); | 411 | copy->pw_passwd = xstrdup(pw->pw_passwd); |
412 | copy->pw_uid = pw->pw_uid; | 412 | copy->pw_uid = pw->pw_uid; |
413 | copy->pw_gid = pw->pw_gid; | 413 | copy->pw_gid = pw->pw_gid; |
414 | #ifdef HAVE_PW_CLASS_IN_PASSWD | ||
415 | copy->pw_class = xstrdup(pw->pw_class); | ||
416 | #endif | ||
414 | copy->pw_dir = xstrdup(pw->pw_dir); | 417 | copy->pw_dir = xstrdup(pw->pw_dir); |
415 | copy->pw_shell = xstrdup(pw->pw_shell); | 418 | copy->pw_shell = xstrdup(pw->pw_shell); |
416 | authctxt->valid = 1; | 419 | authctxt->valid = 1; |