Fix missing case for get_init_creds API change
authorKen Hornstein <kenh@cmf.nrl.navy.mil>
Tue, 9 Mar 2004 19:21:53 +0000 (19:21 +0000)
committerKen Hornstein <kenh@cmf.nrl.navy.mil>
Tue, 9 Mar 2004 19:21:53 +0000 (19:21 +0000)
Fix a case I missed in my original patch for the krb5_get_init_creds API change.

ticket: new

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

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

index 47c10bf5202ab732900861145dd383fd83710b97..7e7a547edbdf9185a5e5c5b2e00615f7ab98329f 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-09  Ken Hornstein <kenh@cmf.nrl.navy.mil>
+
+       * gic_keytab.c (krb5_get_in_tkt_with_keytab): Fix a case I missed
+       originally.
+
 2004-02-27  Ken Raeburn  <raeburn@mit.edu>
 
        * gic_pwd.c (krb5_get_in_tkt_with_password): Fix a case Jeff
index 3861c15022d9a803402f40e7053b54d5cbd8e447..3a10c55837e2b909e6eca54f01536ef9b8a32625 100644 (file)
@@ -154,6 +154,7 @@ krb5_get_in_tkt_with_keytab(krb5_context context, krb5_flags options,
     char * server = NULL;
     krb5_keytab keytab;
     krb5_principal client_princ, server_princ;
+    int use_master = 0;
     
     krb5int_populate_gic_opt(context, &opt,
                             options, addrs, ktypes,
@@ -175,7 +176,7 @@ krb5_get_in_tkt_with_keytab(krb5_context context, krb5_flags options,
                                  krb5_prompter_posix,  NULL,
                                  0, server, &opt,
                                  krb5_get_as_key_keytab, (void *)keytab,
-                                 0, ret_as_reply);
+                                 &use_master, ret_as_reply);
     krb5_free_unparsed_name( context, server);
     if (retval) {
        goto cleanup;