aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/android/android_plugin.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-10-05 14:18:00 +0200
committerTobias Brunner <tobias@strongswan.org>2011-10-05 14:18:00 +0200
commit6c974a4fe345215c03c9bd6c908312e48afe46d4 (patch)
treecdcc3d368550bfe698bfc5d9b2cf8a9c87778822 /src/libcharon/plugins/android/android_plugin.c
parent439cb93ce98ecc1d6a864d63d35baad9e761bb28 (diff)
downloadstrongswan-6c974a4fe345215c03c9bd6c908312e48afe46d4.tar.bz2
strongswan-6c974a4fe345215c03c9bd6c908312e48afe46d4.tar.xz
Allow the Android plugin to load even if the control socket is not available.
Diffstat (limited to 'src/libcharon/plugins/android/android_plugin.c')
-rw-r--r--src/libcharon/plugins/android/android_plugin.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libcharon/plugins/android/android_plugin.c b/src/libcharon/plugins/android/android_plugin.c
index 54a7017a1..d5101f475 100644
--- a/src/libcharon/plugins/android/android_plugin.c
+++ b/src/libcharon/plugins/android/android_plugin.c
@@ -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;
}