diff options
author | Martin Willi <martin@revosec.ch> | 2010-09-03 09:31:51 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-09-03 09:33:15 +0200 |
commit | 42b1ac91c4240a481eccaad0d1596432c4f01181 (patch) | |
tree | c02372d7937f5f325b89c11d3317696af47165e4 /src/libstrongswan/plugins/openssl/openssl_plugin.c | |
parent | 6deeacd965a83e1222b70051280dd247d1bfd170 (diff) | |
download | strongswan-42b1ac91c4240a481eccaad0d1596432c4f01181.tar.bz2 strongswan-42b1ac91c4240a481eccaad0d1596432c4f01181.tar.xz |
Added support for MODP_CUSTOM to openssl plugin
Diffstat (limited to 'src/libstrongswan/plugins/openssl/openssl_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/openssl/openssl_plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.c b/src/libstrongswan/plugins/openssl/openssl_plugin.c index b8f00ff50..500675304 100644 --- a/src/libstrongswan/plugins/openssl/openssl_plugin.c +++ b/src/libstrongswan/plugins/openssl/openssl_plugin.c @@ -349,6 +349,8 @@ plugin_t *openssl_plugin_create() (dh_constructor_t)openssl_diffie_hellman_create); lib->crypto->add_dh(lib->crypto, MODP_768_BIT, (dh_constructor_t)openssl_diffie_hellman_create); + lib->crypto->add_dh(lib->crypto, MODP_CUSTOM, + (dh_constructor_t)openssl_diffie_hellman_create); /* rsa */ lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_RSA, |