aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c
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/gcrypt/gcrypt_plugin.c
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/gcrypt/gcrypt_plugin.c')
-rw-r--r--src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c b/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c
index d7e5d0f42..590add5c8 100644
--- a/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c
+++ b/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c
@@ -224,11 +224,11 @@ plugin_t *gcrypt_plugin_create()
(dh_constructor_t)gcrypt_dh_create_custom);
/* RSA */
- 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)gcrypt_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)gcrypt_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)gcrypt_rsa_public_key_load);
return &this->public.plugin;