diff options
| author | Kevin Coffman <kwc@citi.umich.edu> | 2006-11-13 22:51:23 +0000 |
|---|---|---|
| committer | Kevin Coffman <kwc@citi.umich.edu> | 2006-11-13 22:51:23 +0000 |
| commit | 2aa0ac015abb18cd1ba1237f3d3027197127d558 (patch) | |
| tree | 25a01a6ed128e2351474b14dcf1202dcd3328bbf /src/include | |
| parent | 40c270d232a8d7ba2e91f62ad197eec0e7e92335 (diff) | |
| download | krb5-2aa0ac015abb18cd1ba1237f3d3027197127d558.tar.gz krb5-2aa0ac015abb18cd1ba1237f3d3027197127d558.tar.xz krb5-2aa0ac015abb18cd1ba1237f3d3027197127d558.zip | |
correct client preauth plugin request_context
Correctly share the same request_context between all modules
within a single client preauth plugin.
ticket: new
Component: krb5-libs
Target_Version: 1.6
Tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18800 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/k5-int.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 13109e2913..6568ab132a 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -914,10 +914,14 @@ typedef struct _krb5_preauth_context { void **request_context); void (*client_req_fini)(krb5_context context, void *plugin_context, void *request_context); - /* The per-pa_type context which the client_process() function + /* The per-request context which the client_req_init() function * might allocate, which we'll need to clean up later by - * calling the client_cleanup() function. */ + * calling the client_req_fini() function. */ void *request_context; + /* A pointer to the request_context pointer. All modules within + * a plugin will point at the request_context of the first + * module within the plugin. */ + void **request_context_pp; } *modules; } krb5_preauth_context; |
