diff options
| author | Sam Hartman <hartmans@mit.edu> | 2006-10-13 18:50:40 +0000 |
|---|---|---|
| committer | Sam Hartman <hartmans@mit.edu> | 2006-10-13 18:50:40 +0000 |
| commit | be321d5f49f8f48e4522903228fe2b4d327d6642 (patch) | |
| tree | 9386af06c9546a1fe05d797bf82949ef870b72eb /src/plugins/preauth/wpse | |
| parent | b3ab73a1e7dd274c8f095d2276f175cd8b1a7938 (diff) | |
| download | krb5-be321d5f49f8f48e4522903228fe2b4d327d6642.tar.gz krb5-be321d5f49f8f48e4522903228fe2b4d327d6642.tar.xz krb5-be321d5f49f8f48e4522903228fe2b4d327d6642.zip | |
Patch to split client plugin from server plugin
ticket: 4377
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18693 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/preauth/wpse')
| -rw-r--r-- | src/plugins/preauth/wpse/src/wpse.c | 8 | ||||
| -rw-r--r-- | src/plugins/preauth/wpse/wpse.exports | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/plugins/preauth/wpse/src/wpse.c b/src/plugins/preauth/wpse/src/wpse.c index 579c63b0c..07c52d95a 100644 --- a/src/plugins/preauth/wpse/src/wpse.c +++ b/src/plugins/preauth/wpse/src/wpse.c @@ -316,10 +316,9 @@ server_get_flags(krb5_context kcontext, krb5_preauthtype pa_type) static krb5_preauthtype supported_client_pa_types[] = {KRB5_PADATA_WPSE_REQ, 0}; static krb5_preauthtype supported_server_pa_types[] = {KRB5_PADATA_WPSE_REQ, 0}; -struct krb5plugin_preauth_ftable_v0 preauthentication0 = { +struct krb5plugin_preauth_client_ftable_v0 preauthentication_client_0 = { "wpse", &supported_client_pa_types[0], - &supported_server_pa_types[0], NULL, client_init, client_fini, @@ -327,6 +326,11 @@ struct krb5plugin_preauth_ftable_v0 preauthentication0 = { client_cleanup, client_process, NULL, +}; + +struct krb5plugin_preauth_server_ftable_v0 preauthentication_server_0 = { + "wpse", + &supported_server_pa_types[0], NULL, NULL, server_get_flags, diff --git a/src/plugins/preauth/wpse/wpse.exports b/src/plugins/preauth/wpse/wpse.exports index ff5e3f139..32e067ba9 100644 --- a/src/plugins/preauth/wpse/wpse.exports +++ b/src/plugins/preauth/wpse/wpse.exports @@ -1 +1,2 @@ -preauthentication0 +preauthentication_client_0 +preauthentication_server_0 |
