aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/pkcs11/pkcs11_plugin.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-10-28 20:59:03 +0200
committerTobias Brunner <tobias@strongswan.org>2011-10-31 18:45:37 +0100
commit10b82be61fb09f6f854d0254d28bb2c8437c8ebc (patch)
tree688312b675fedc1bc6fb1c1b5b3d54f2bf518d9b /src/libstrongswan/plugins/pkcs11/pkcs11_plugin.c
parent89de89be57a9e51930820a2cadbd50a42e6b3ccd (diff)
downloadstrongswan-10b82be61fb09f6f854d0254d28bb2c8437c8ebc.tar.bz2
strongswan-10b82be61fb09f6f854d0254d28bb2c8437c8ebc.tar.xz
pkcs11: Merged the ECDH into the DH implementation.
Diffstat (limited to 'src/libstrongswan/plugins/pkcs11/pkcs11_plugin.c')
-rw-r--r--src/libstrongswan/plugins/pkcs11/pkcs11_plugin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstrongswan/plugins/pkcs11/pkcs11_plugin.c b/src/libstrongswan/plugins/pkcs11/pkcs11_plugin.c
index 79b347783..52f0242fb 100644
--- a/src/libstrongswan/plugins/pkcs11/pkcs11_plugin.c
+++ b/src/libstrongswan/plugins/pkcs11/pkcs11_plugin.c
@@ -30,7 +30,6 @@
#include "pkcs11_hasher.h"
#include "pkcs11_rng.h"
#include "pkcs11_dh.h"
-#include "pkcs11_ec_dh.h"
typedef struct private_pkcs11_plugin_t private_pkcs11_plugin_t;
@@ -165,7 +164,7 @@ METHOD(plugin_t, get_features, int,
PLUGIN_PROVIDE(PUBKEY, KEY_RSA),
};
static plugin_feature_t f_ecdh[] = {
- PLUGIN_REGISTER(DH, pkcs11_ec_dh_create),
+ PLUGIN_REGISTER(DH, pkcs11_dh_create),
PLUGIN_PROVIDE(DH, ECP_192_BIT),
PLUGIN_PROVIDE(DH, ECP_224_BIT),
PLUGIN_PROVIDE(DH, ECP_256_BIT),