generic public key factory moved

This commit is contained in:
Tobias Brunner
2008-05-15 12:33:00 +00:00
parent 89658f6d6c
commit c1571b34fd
6 changed files with 16 additions and 14 deletions
@@ -19,6 +19,7 @@
#include <library.h>
#include "pubkey_cert.h"
#include "pubkey_public_key.h"
typedef struct private_pubkey_plugin_t private_pubkey_plugin_t;
@@ -54,6 +55,8 @@ 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;
}