The policy_started check is not needed any more
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 18 Jun 2014 12:01:02 +0000 (14:01 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 18 Jun 2014 12:01:02 +0000 (14:01 +0200)
src/libimcv/imv/imv_session.c

index faa22c3..1f0d8cf 100644 (file)
@@ -217,10 +217,6 @@ METHOD(imv_session_t, remove_workitem, void,
 METHOD(imv_session_t, create_workitem_enumerator, enumerator_t*,
        private_imv_session_t *this)
 {
-       if (!this->policy_started)
-       {
-               return enumerator_create_empty();
-       }
        return this->workitems->create_enumerator(this->workitems);
 }