summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/auth
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-05-31 21:13:44 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-05-31 21:13:44 +0000
commitd13083293897f80c386b0187d1fb8a4bb91356a8 (patch)
treef9cf63a12fa16b766cc5d32f970484e942d8dba3 /usr.bin/sudo/auth
parentc938b134616db1afd547243bd5c695c1d24be650 (diff)
update to sudo 1.6.8p8
Diffstat (limited to 'usr.bin/sudo/auth')
-rw-r--r--usr.bin/sudo/auth/kerb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sudo/auth/kerb5.c b/usr.bin/sudo/auth/kerb5.c
index 9723020ceeb..07022c50f98 100644
--- a/usr.bin/sudo/auth/kerb5.c
+++ b/usr.bin/sudo/auth/kerb5.c
@@ -55,7 +55,7 @@ static const char rcsid[] = "$Sudo: kerb5.c,v 1.23 2004/06/07 00:02:56 millert E
#endif /* lint */
#ifdef HAVE_HEIMDAL
-# define extract_name(c, p) krb5_principal_get_comp_string(c, p, 0)
+# define extract_name(c, p) krb5_principal_get_comp_string(c, p, 1)
# define krb5_free_data_contents(c, d) krb5_data_free(d)
# define ENCTYPE_DES_CBC_MD5 ETYPE_DES_CBC_MD5 /* XXX */
#else