diff options
author | Martin Willi <martin@strongswan.org> | 2009-09-09 16:23:08 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-09-10 16:20:20 +0200 |
commit | 43224e9527eda958214196693901dc111f29c0e8 (patch) | |
tree | 5ec4923cb4fc5802ac8bf7004bef1837a136a428 /src/libstrongswan/plugins/pgp/pgp_plugin.c | |
parent | de408caf93e98579561551694875ac5c317a2019 (diff) | |
download | strongswan-43224e9527eda958214196693901dc111f29c0e8.tar.bz2 strongswan-43224e9527eda958214196693901dc111f29c0e8.tar.xz |
Updated pgp plugin to the new builder API
Diffstat (limited to 'src/libstrongswan/plugins/pgp/pgp_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/pgp/pgp_plugin.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libstrongswan/plugins/pgp/pgp_plugin.c b/src/libstrongswan/plugins/pgp/pgp_plugin.c index ed37e1d9f..198b58cbf 100644 --- a/src/libstrongswan/plugins/pgp/pgp_plugin.c +++ b/src/libstrongswan/plugins/pgp/pgp_plugin.c @@ -38,9 +38,9 @@ struct private_pgp_plugin_t { static void destroy(private_pgp_plugin_t *this) { lib->creds->remove_builder(lib->creds, - (builder_constructor_t)pgp_public_key_builder); + (builder_function_t)pgp_public_key_load); lib->creds->remove_builder(lib->creds, - (builder_constructor_t)pgp_private_key_builder); + (builder_function_t)pgp_private_key_load); lib->encoding->remove_encoder(lib->encoding, pgp_encoder_encode); @@ -57,13 +57,13 @@ plugin_t *plugin_create() this->public.plugin.destroy = (void(*)(plugin_t*))destroy; lib->creds->add_builder(lib->creds, CRED_PUBLIC_KEY, KEY_ANY, - (builder_constructor_t)pgp_public_key_builder); + (builder_function_t)pgp_public_key_load); lib->creds->add_builder(lib->creds, CRED_PUBLIC_KEY, KEY_RSA, - (builder_constructor_t)pgp_public_key_builder); + (builder_function_t)pgp_public_key_load); lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_ANY, - (builder_constructor_t)pgp_private_key_builder); + (builder_function_t)pgp_private_key_load); lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_RSA, - (builder_constructor_t)pgp_private_key_builder); + (builder_function_t)pgp_private_key_load); lib->encoding->add_encoder(lib->encoding, pgp_encoder_encode); |