Fixed initialization of android plugin.
This commit is contained in:
@@ -95,13 +95,13 @@ plugin_t *android_plugin_create()
|
||||
.creds = android_creds_create(),
|
||||
);
|
||||
|
||||
this->service = android_service_create(this->creds);
|
||||
this->handler = android_handler_create(this->service != NULL);
|
||||
|
||||
charon->bus->add_listener(charon->bus, &this->logger->listener);
|
||||
lib->credmgr->add_set(lib->credmgr, &this->creds->set);
|
||||
hydra->attributes->add_handler(hydra->attributes, &this->handler->handler);
|
||||
|
||||
this->service = android_service_create(this->creds);
|
||||
this->handler = android_handler_create(this->service != NULL);
|
||||
|
||||
return &this->public.plugin;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user