Added support for MODP_CUSTOM to openssl plugin

This commit is contained in:
Martin Willi
2010-09-03 09:33:15 +02:00
parent 6deeacd965
commit 42b1ac91c4
3 changed files with 20 additions and 6 deletions
@@ -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,