svn rev #23419: branches/fast-negotiate/src/lib/krb5/krb/
hartmans@MIT.EDU
hartmans at MIT.EDU
Wed Dec 2 11:16:41 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=23419
Commit By: hartmans
Log Message:
Don't upgrade to FAST if already using FAST
Changed Files:
U branches/fast-negotiate/src/lib/krb5/krb/fast.c
Modified: branches/fast-negotiate/src/lib/krb5/krb/fast.c
===================================================================
--- branches/fast-negotiate/src/lib/krb5/krb/fast.c 2009-12-02 16:16:38 UTC (rev 23418)
+++ branches/fast-negotiate/src/lib/krb5/krb/fast.c 2009-12-02 16:16:41 UTC (rev 23419)
@@ -593,6 +593,8 @@
krb5_boolean krb5int_upgrade_to_fast_p
(krb5_context context, struct krb5int_fast_request_state *state, krb5_pa_data **padata)
{
+ if (state->armor_key != NULL)
+ return 0; /*already using FAST*/
if (! (state->fast_state_flags & KRB5INT_FAST_ARMOR_AVAIL))
return 0;
if (krb5int_find_pa_data(context, padata, KRB5_PADATA_FX_FAST) != NULL) {
More information about the cvs-krb5
mailing list