removed subjectPublicKeyInfo parsing, provided by pkcs1 plugin
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
#include <library.h>
|
||||
#include "pubkey_cert.h"
|
||||
#include "pubkey_public_key.h"
|
||||
|
||||
typedef struct private_pubkey_plugin_t private_pubkey_plugin_t;
|
||||
|
||||
@@ -39,8 +38,6 @@ static void destroy(private_pubkey_plugin_t *this)
|
||||
{
|
||||
lib->creds->remove_builder(lib->creds,
|
||||
(builder_constructor_t)pubkey_cert_builder);
|
||||
lib->creds->remove_builder(lib->creds,
|
||||
(builder_constructor_t)pubkey_public_key_builder);
|
||||
free(this);
|
||||
}
|
||||
|
||||
@@ -55,8 +52,6 @@ plugin_t *plugin_create()
|
||||
|
||||
lib->creds->add_builder(lib->creds, CRED_CERTIFICATE, CERT_TRUSTED_PUBKEY,
|
||||
(builder_constructor_t)pubkey_cert_builder);
|
||||
lib->creds->add_builder(lib->creds, CRED_PUBLIC_KEY, KEY_ANY,
|
||||
(builder_constructor_t)pubkey_public_key_builder);
|
||||
|
||||
return &this->public.plugin;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user