diff options
author | Martin Willi <martin@strongswan.org> | 2009-09-09 16:23:41 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-09-10 16:20:20 +0200 |
commit | 91ef5c66ab82e3694f18a3a91b8b199a180e171c (patch) | |
tree | c3722d5dcab0c91e814d935fa85f735ef7ee939e /src/libstrongswan/plugins/pubkey/pubkey_plugin.c | |
parent | 872176d350d16d6c6785f11ec366de3b13efcf74 (diff) | |
download | strongswan-91ef5c66ab82e3694f18a3a91b8b199a180e171c.tar.bz2 strongswan-91ef5c66ab82e3694f18a3a91b8b199a180e171c.tar.xz |
Updated pubkey plugin to the new builder API
Diffstat (limited to 'src/libstrongswan/plugins/pubkey/pubkey_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/pubkey/pubkey_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/plugins/pubkey/pubkey_plugin.c b/src/libstrongswan/plugins/pubkey/pubkey_plugin.c index 2af8c9cd3..ad84eed99 100644 --- a/src/libstrongswan/plugins/pubkey/pubkey_plugin.c +++ b/src/libstrongswan/plugins/pubkey/pubkey_plugin.c @@ -37,7 +37,7 @@ struct private_pubkey_plugin_t { static void destroy(private_pubkey_plugin_t *this) { lib->creds->remove_builder(lib->creds, - (builder_constructor_t)pubkey_cert_builder); + (builder_function_t)pubkey_cert_wrap); free(this); } @@ -51,7 +51,7 @@ plugin_t *plugin_create() this->public.plugin.destroy = (void(*)(plugin_t*))destroy; lib->creds->add_builder(lib->creds, CRED_CERTIFICATE, CERT_TRUSTED_PUBKEY, - (builder_constructor_t)pubkey_cert_builder); + (builder_function_t)pubkey_cert_wrap); return &this->public.plugin; } |