diff options
author | Sam Hartman <hartmans@mit.edu> | 2009-12-02 16:16:41 +0000 |
---|---|---|
committer | Sam Hartman <hartmans@mit.edu> | 2009-12-02 16:16:41 +0000 |
commit | 02f4daf79f6170f880322793db70b0e79221bccc (patch) | |
tree | 928a738fd7da68a0abdfa9d1443c166763b1ea4c | |
parent | fbbca0548b34a2cec60fe808b397b89f21a9fe81 (diff) | |
download | krb5-02f4daf79f6170f880322793db70b0e79221bccc.zip krb5-02f4daf79f6170f880322793db70b0e79221bccc.tar.gz krb5-02f4daf79f6170f880322793db70b0e79221bccc.tar.bz2 |
Don't upgrade to FAST if already using FAST
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/fast-negotiate@23419 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/krb5/krb/fast.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/krb5/krb/fast.c b/src/lib/krb5/krb/fast.c index 0ba3085..b3e1eb1 100644 --- a/src/lib/krb5/krb/fast.c +++ b/src/lib/krb5/krb/fast.c @@ -593,6 +593,8 @@ krb5_error_code krb5int_fast_verify_nego 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) { |