aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/auth1.c
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-09-10 08:31:17 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-09-10 08:31:17 +0000
commitb66f2d16a0435b7e7f3edde6101797004ae8d3b9 (patch)
treec42b17e610c0f98d5a0dda76cbd9035109d60303 /crypto/openssh/auth1.c
parent2632b0c8756f2f5db4401143acdd2ebb7a871636 (diff)
downloadsrc-b66f2d16a0435b7e7f3edde6101797004ae8d3b9.tar.gz
src-b66f2d16a0435b7e7f3edde6101797004ae8d3b9.zip
Initial import of OpenSSH post-2.2.0 snapshot dated 2000-09-09
Notes
Notes: svn path=/vendor-crypto/openssh/dist/; revision=65668
Diffstat (limited to 'crypto/openssh/auth1.c')
-rw-r--r--crypto/openssh/auth1.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/crypto/openssh/auth1.c b/crypto/openssh/auth1.c
index 38114d8c06eb..59df9e30320c 100644
--- a/crypto/openssh/auth1.c
+++ b/crypto/openssh/auth1.c
@@ -1,10 +1,16 @@
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
+ *
+ * As far as I am concerned, the code I have written for this software
+ * can be used freely for any purpose. Any derived versions of this
+ * software must be clearly marked as such, and if the derived work is
+ * incompatible with the protocol description in the RFC file, it must be
+ * called by a name other than "ssh" or "Secure Shell".
*/
#include "includes.h"
-RCSID("$OpenBSD: auth1.c,v 1.2 2000/04/29 18:11:52 markus Exp $");
+RCSID("$OpenBSD: auth1.c,v 1.4 2000/09/07 20:27:49 deraadt Exp $");
#include "xmalloc.h"
#include "rsa.h"
@@ -429,6 +435,7 @@ do_authentication()
pwcopy.pw_passwd = xstrdup(pw->pw_passwd);
pwcopy.pw_uid = pw->pw_uid;
pwcopy.pw_gid = pw->pw_gid;
+ pwcopy.pw_class = xstrdup(pw->pw_class);
pwcopy.pw_dir = xstrdup(pw->pw_dir);
pwcopy.pw_shell = xstrdup(pw->pw_shell);
pw = &pwcopy;