* gic_keytab.c (krb5_get_in_tkt_with_keytab): Pass (void*)keytab,
authorTom Yu <tlyu@mit.edu>
Fri, 27 Jun 2003 17:53:42 +0000 (17:53 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 27 Jun 2003 17:53:42 +0000 (17:53 +0000)
not &keytab, to get_init_creds.  Thanks to Herb Lewis.

ticket: 1630
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15653 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/gic_keytab.c

index b5288e71c851a3f9c0c594206b7f73ffb56dca4f..514081343dfc1576d95c6d6bf55d71409fc9592b 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-27  Tom Yu  <tlyu@mit.edu>
+
+       * gic_keytab.c (krb5_get_in_tkt_with_keytab): Pass (void*)keytab,
+       not &keytab, to get_init_creds.  Thanks to Herb Lewis.
+
 2003-06-16  Sam Hartman  <hartmans@mit.edu>
 
        * fwd_tgt.c (krb5_fwd_tgt_creds): Set use_conf_ktypes to true while getting the TGT key
index 725b76a284e3f7fb5d207cb6c05639f4955affc9..38a88ee140206c024dbd809d6bd3b5ccda6a0c6f 100644 (file)
@@ -174,7 +174,7 @@ krb5_get_in_tkt_with_keytab(krb5_context context, krb5_flags options,
                                  creds, creds->client,  
                                  krb5_prompter_posix,  NULL,
                                  0, server, &opt,
-                                 krb5_get_as_key_keytab, &keytab,
+                                 krb5_get_as_key_keytab, (void *)keytab,
                                  0, ret_as_reply);
     krb5_free_unparsed_name( context, server);
     if (retval) {