* gic_pwd.c (krb5_get_in_tkt_with_password): Fix a case Jeff missed
authorKen Raeburn <raeburn@mit.edu>
Sat, 28 Feb 2004 00:35:01 +0000 (00:35 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 28 Feb 2004 00:35:01 +0000 (00:35 +0000)
ticket: 2296
version_fixed:

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

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

index acef6b9dc482004b79e8114b73c4efed7af8f29e..47c10bf5202ab732900861145dd383fd83710b97 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-27  Ken Raeburn  <raeburn@mit.edu>
+
+       * gic_pwd.c (krb5_get_in_tkt_with_password): Fix a case Jeff
+       missed.
+
 2004-02-26  Jeffrey Altman <jaltman@mit.edu>
   
     * get_in_tkt.c, gic_keytab.c, gic_pwd.c, send_tgs.c: 
index 50d91d1a2956698ff145e9bda510c3878638b8f4..7689ab5c0cf428d60dc83421945c6e87ee6abe30 100644 (file)
@@ -431,6 +431,7 @@ krb5_get_in_tkt_with_password(krb5_context context, krb5_flags options,
     krb5_get_init_creds_opt opt;
     char * server;
     krb5_principal server_princ, client_princ;
+    int use_master = 0;
 
     pw0array[0] = '\0';
     pw0.data = pw0array;
@@ -457,7 +458,7 @@ krb5_get_in_tkt_with_password(krb5_context context, krb5_flags options,
                                           krb5_prompter_posix,  NULL,
                                           0, server, &opt,
                                      krb5_get_as_key_password, &pw0,
-                                     0, ret_as_reply);
+                                     &use_master, ret_as_reply);
          krb5_free_unparsed_name( context, server);
        if (retval) {
          return (retval);