diff options
author | Martin Willi <martin@strongswan.org> | 2009-08-27 09:58:38 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-08-27 09:58:38 +0200 |
commit | b12c6d163d179ad238fe920eb9f1746b96f51166 (patch) | |
tree | 417f9955630d710b543ce5289e308e0bb08a8a39 /src/libstrongswan/plugins/openssl/openssl_plugin.c | |
parent | 2ee8cd04bdeac33c893c9b20c82e465e03b5a769 (diff) | |
download | strongswan-b12c6d163d179ad238fe920eb9f1746b96f51166.tar.bz2 strongswan-b12c6d163d179ad238fe920eb9f1746b96f51166.tar.xz |
do openssl fingerprinting/encoding directly, openssl provides all functions
Diffstat (limited to 'src/libstrongswan/plugins/openssl/openssl_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/openssl/openssl_plugin.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.c b/src/libstrongswan/plugins/openssl/openssl_plugin.c index 53c3e6816..a24f88219 100644 --- a/src/libstrongswan/plugins/openssl/openssl_plugin.c +++ b/src/libstrongswan/plugins/openssl/openssl_plugin.c @@ -183,8 +183,6 @@ static void destroy(private_openssl_plugin_t *this) lib->creds->remove_builder(lib->creds, (builder_constructor_t)openssl_ec_public_key_builder); - lib->encoding->remove_encoder(lib->encoding, openssl_encode); - ENGINE_cleanup(); EVP_cleanup(); CONF_modules_free(); @@ -294,8 +292,5 @@ plugin_t *plugin_create() lib->creds->add_builder(lib->creds, CRED_PUBLIC_KEY, KEY_ECDSA, (builder_constructor_t)openssl_ec_public_key_builder); - /* fingerprinting/encoding */ - lib->encoding->add_encoder(lib->encoding, openssl_encode); - return &this->public.plugin; } |