Allow the Android plugin to load even if the control socket is not available.
authorTobias Brunner <tobias@strongswan.org>
Wed, 5 Oct 2011 12:18:00 +0000 (14:18 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 5 Oct 2011 12:18:00 +0000 (14:18 +0200)
src/libcharon/plugins/android/android_plugin.c

index 54a7017..d5101f4 100644 (file)
@@ -101,11 +101,6 @@ plugin_t *android_plugin_create()
        hydra->attributes->add_handler(hydra->attributes, &this->handler->handler);
 
        this->service = android_service_create(this->creds);
-       if (!this->service)
-       {
-               destroy(this);
-               return NULL;
-       }
 
        return &this->public.plugin;
 }