summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/auth2.c b/auth2.c
index 4926ff8a0..7769046fb 100644
--- a/auth2.c
+++ b/auth2.c
@@ -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"
30RCSID("$OpenBSD: auth2.c,v 1.12 2000/07/07 03:55:03 todd Exp $"); 30RCSID("$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;