aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/gmp
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-09-03 18:09:48 +0200
committerMartin Willi <martin@revosec.ch>2010-09-03 18:09:48 +0200
commitd987946e803e66d954c5f8a1f264c8726fd41c02 (patch)
tree065de7e0c9dd90dfee4a49fd5f17a89fe67a9852 /src/libstrongswan/plugins/gmp
parentf9c0cf862cc8d1366e9bba0d18ebce947bb3ccaa (diff)
downloadstrongswan-d987946e803e66d954c5f8a1f264c8726fd41c02.tar.bz2
strongswan-d987946e803e66d954c5f8a1f264c8726fd41c02.tar.xz
Added a final flag to builder registration to enumerate the actually supported algorithms
Diffstat (limited to 'src/libstrongswan/plugins/gmp')
-rw-r--r--src/libstrongswan/plugins/gmp/gmp_plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstrongswan/plugins/gmp/gmp_plugin.c b/src/libstrongswan/plugins/gmp/gmp_plugin.c
index 08900df2e..9b4fad3da 100644
--- a/src/libstrongswan/plugins/gmp/gmp_plugin.c
+++ b/src/libstrongswan/plugins/gmp/gmp_plugin.c
@@ -90,11 +90,11 @@ plugin_t *gmp_plugin_create()
lib->crypto->add_dh(lib->crypto, MODP_CUSTOM,
(dh_constructor_t)gmp_diffie_hellman_create_custom);
- lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_RSA,
+ lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_RSA, FALSE,
(builder_function_t)gmp_rsa_private_key_gen);
- lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_RSA,
+ lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_RSA, TRUE,
(builder_function_t)gmp_rsa_private_key_load);
- lib->creds->add_builder(lib->creds, CRED_PUBLIC_KEY, KEY_RSA,
+ lib->creds->add_builder(lib->creds, CRED_PUBLIC_KEY, KEY_RSA, TRUE,
(builder_function_t)gmp_rsa_public_key_load);
return &this->public.plugin;