svn rev #23855: branches/iakerb/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Sun Apr 4 13:20:50 EDT 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=23855
Commit By: ghudson
Log Message:
Pull up r23844 (krb5_init_creds_step flags fix) from trunk.
Changed Files:
U branches/iakerb/src/lib/krb5/krb/get_in_tkt.c
Modified: branches/iakerb/src/lib/krb5/krb/get_in_tkt.c
===================================================================
--- branches/iakerb/src/lib/krb5/krb/get_in_tkt.c 2010-04-04 17:17:17 UTC (rev 23854)
+++ branches/iakerb/src/lib/krb5/krb/get_in_tkt.c 2010-04-04 17:20:50 UTC (rev 23855)
@@ -1083,7 +1083,7 @@
&flags);
if (code == KRB5KRB_ERR_RESPONSE_TOO_BIG && !tcp_only)
tcp_only = 1;
- else if (code != 0 || (flags & KRB5_INIT_CREDS_STEP_FLAG_COMPLETE))
+ else if (code != 0 || (flags & 1) == 0)
break;
krb5_free_data_contents(context, &reply);
@@ -2065,7 +2065,7 @@
}
}
- *flags = (ctx->flags & KRB5_INIT_CREDS_STEP_FLAG_COMPLETE);
+ *flags = (ctx->flags & KRB5_INIT_CREDS_STEP_FLAG_COMPLETE) ? 0 : 1;
return code;
}
More information about the cvs-krb5
mailing list