From cdc69c97e89b5a9e637a80f2cb72d35184a2690b Mon Sep 17 00:00:00 2001 From: Kevin Coffman Date: Mon, 13 Nov 2006 22:59:55 +0000 Subject: 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 ) 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 --- src/include/krb5/preauth_plugin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') 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, -- cgit