corrected deinitialisation of public key factory
This commit is contained in:
1 parent
c1571b34fd
commit
144274ab20
2 files changed
+3
-3
No files matched your search
@@ -46,8 +46,6 @@ static void destroy(private_gmp_plugin_t *this)
|
||||
(builder_constructor_t)gmp_rsa_private_key_builder);
|
||||
lib->creds->remove_builder(lib->creds,
|
||||
(builder_constructor_t)gmp_rsa_public_key_builder);
|
||||
lib->creds->remove_builder(lib->creds,
|
||||
(builder_constructor_t)gmp_public_key_builder);
|
||||
free(this);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,9 @@ struct private_pubkey_plugin_t {
|
||||
static void destroy(private_pubkey_plugin_t *this)
|
||||
{
|
||||
lib->creds->remove_builder(lib->creds,
|
||||
(builder_constructor_t)pubkey_cert_builder);
|
||||
(builder_constructor_t)pubkey_cert_builder);
|
||||
lib->creds->remove_builder(lib->creds,
|
||||
(builder_constructor_t)pubkey_public_key_builder);
|
||||
free(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user