svn rev #25822: trunk/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Wed Apr 25 13:20:20 EDT 2012
http://src.mit.edu/fisheye/changelog/krb5/?cs=25822
Commit By: ghudson
Log Message:
Clear preauth use counts for each AS request
Initialize use_count fields in krb5_preauth_request_context_init,
which is invoked before each AS request. Previously they were
initialized only in krb5_init_preauth_context, which is only invoked
once per krb5 library context.
ticket: 7119
target_version: 1.10.2
tags: pullup
Changed Files:
U trunk/src/lib/krb5/krb/preauth2.c
Modified: trunk/src/lib/krb5/krb/preauth2.c
===================================================================
--- trunk/src/lib/krb5/krb/preauth2.c 2012-04-24 17:04:29 UTC (rev 25821)
+++ trunk/src/lib/krb5/krb/preauth2.c 2012-04-25 17:20:20 UTC (rev 25822)
@@ -281,6 +281,7 @@
if (context->preauth_context == NULL)
return;
for (i = 0; i < context->preauth_context->n_modules; i++) {
+ context->preauth_context->modules[i].use_count = 0;
mod = &context->preauth_context->modules[i];
if (mod->client_req_init != NULL)
mod->client_req_init(context, mod->moddata, mod->modreq_p);
More information about the cvs-krb5
mailing list