Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/usr.bin/su Pull up following revision(s) (requested by ch...



details:   https://anonhg.NetBSD.org/src/rev/8445fadb2661
branches:  netbsd-6
changeset: 774054:8445fadb2661
user:      riz <riz%NetBSD.org@localhost>
date:      Mon May 07 15:59:37 2012 +0000

description:
Pull up following revision(s) (requested by christos in ticket #213):
        usr.bin/su/su.c: revision 1.70
make this compile again.

diffstat:

 usr.bin/su/su.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b6464a852e16 -r 8445fadb2661 usr.bin/su/su.c
--- a/usr.bin/su/su.c   Mon May 07 15:58:04 2012 +0000
+++ b/usr.bin/su/su.c   Mon May 07 15:59:37 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: su.c,v 1.69 2011/08/31 16:24:58 plunky Exp $   */
+/*     $NetBSD: su.c,v 1.69.4.1 2012/05/07 15:59:37 riz Exp $  */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)su.c       8.3 (Berkeley) 4/2/94";*/
 #else
-__RCSID("$NetBSD: su.c,v 1.69 2011/08/31 16:24:58 plunky Exp $");
+__RCSID("$NetBSD: su.c,v 1.69.4.1 2012/05/07 15:59:37 riz Exp $");
 #endif
 #endif /* not lint */
 
@@ -462,7 +462,7 @@
                warnx("kerberos5: not in %s's ACL.", user);
                goto fail;
        }
-       ret = krb5_cc_gen_new(context, &krb5_mcc_ops, &ccache);
+       ret = krb5_cc_new_unique(context, krb5_mcc_ops.prefix, NULL, &ccache);
        if (ret)
                goto fail;
        ret = krb5_verify_user_lrealm(context, princ, ccache, NULL, TRUE,
@@ -482,7 +482,7 @@
                }
                goto fail;
        }
-       ret = krb5_cc_gen_new(context, &krb5_fcc_ops, &ccache2);
+       ret = krb5_cc_new_unique(context, krb5_mcc_ops.prefix, NULL, &ccache2);
        if (ret) {
                krb5_cc_destroy(context, ccache);
                goto fail;



Home | Main Index | Thread Index | Old Index