summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/preauth_plugin.h
diff options
context:
space:
mode:
authorKevin Coffman <kwc@citi.umich.edu>2006-11-13 22:59:55 +0000
committerKevin Coffman <kwc@citi.umich.edu>2006-11-13 22:59:55 +0000
commitcdc69c97e89b5a9e637a80f2cb72d35184a2690b (patch)
tree43bf1e72244b7a5d29a8a6e7e1f60e5d3553ad65 /src/include/krb5/preauth_plugin.h
parent2aa0ac015abb18cd1ba1237f3d3027197127d558 (diff)
downloadkrb5-cdc69c97e89b5a9e637a80f2cb72d35184a2690b.tar.gz
krb5-cdc69c97e89b5a9e637a80f2cb72d35184a2690b.tar.xz
krb5-cdc69c97e89b5a9e637a80f2cb72d35184a2690b.zip
allow server preauth plugin verify_padata function to return e-data
Change server-side preauth plugin interface to allow the plugin's verify_padata function to return e-data to be returned to the client. (Patch from Nalin Dahyabhai <nalin@redhat.com>) Update sample plugins to return e-data to exercise the code. Fix memory leak in the wpse plugin. ticket: new Component: krb5-kdc Target_Version: 1.6 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18801 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5/preauth_plugin.h')
-rw-r--r--src/include/krb5/preauth_plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/krb5/preauth_plugin.h b/src/include/krb5/preauth_plugin.h
index f1b7dd3345..f7ecd3be00 100644
--- a/src/include/krb5/preauth_plugin.h
+++ b/src/include/krb5/preauth_plugin.h
@@ -298,7 +298,8 @@ typedef struct krb5plugin_preauth_server_ftable_v0 {
krb5_pa_data *data,
preauth_get_entry_data_proc,
void *pa_module_context,
- void **pa_request_context);
+ void **pa_request_context,
+ krb5_data **e_data);
/* Generate preauthentication response data to send to the client as part
* of the AS-REP. If it needs to override the key which is used to encrypt
* the response, it can do so. The module is expected (but not required,