diff options
author | Martin Willi <martin@revosec.ch> | 2010-04-19 14:41:20 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-04-19 14:41:20 +0200 |
commit | 4590260b2dfcc4801ee92df419b1ef81738922ba (patch) | |
tree | fe0ffada7282d728b55a2f933f07e52a3ca31e4e /src/libstrongswan/plugins/openssl/openssl_plugin.c | |
parent | f0212e8837b54bae2c013470e5a4614e6fb19485 (diff) | |
download | strongswan-4590260b2dfcc4801ee92df419b1ef81738922ba.tar.bz2 strongswan-4590260b2dfcc4801ee92df419b1ef81738922ba.tar.xz |
Added support for DH groups 22, 23 and 24, patch contributed by Joy Latten
Diffstat (limited to 'src/libstrongswan/plugins/openssl/openssl_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/openssl/openssl_plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.c b/src/libstrongswan/plugins/openssl/openssl_plugin.c index 165f83ccb..c1545ffb8 100644 --- a/src/libstrongswan/plugins/openssl/openssl_plugin.c +++ b/src/libstrongswan/plugins/openssl/openssl_plugin.c @@ -266,6 +266,10 @@ plugin_t *openssl_plugin_create() /* (ec) diffie hellman */ lib->crypto->add_dh(lib->crypto, MODP_2048_BIT, (dh_constructor_t)openssl_diffie_hellman_create); + lib->crypto->add_dh(lib->crypto, MODP_2048_224, + (dh_constructor_t)openssl_diffie_hellman_create); + lib->crypto->add_dh(lib->crypto, MODP_2048_256, + (dh_constructor_t)openssl_diffie_hellman_create); lib->crypto->add_dh(lib->crypto, MODP_1536_BIT, (dh_constructor_t)openssl_diffie_hellman_create); lib->crypto->add_dh(lib->crypto, ECP_256_BIT, @@ -288,6 +292,8 @@ plugin_t *openssl_plugin_create() (dh_constructor_t)openssl_diffie_hellman_create); lib->crypto->add_dh(lib->crypto, MODP_1024_BIT, (dh_constructor_t)openssl_diffie_hellman_create); + lib->crypto->add_dh(lib->crypto, MODP_1024_160, + (dh_constructor_t)openssl_diffie_hellman_create); lib->crypto->add_dh(lib->crypto, MODP_768_BIT, (dh_constructor_t)openssl_diffie_hellman_create); |