vpnengine/ikev2lib/src/ikev2pluginsession.cpp
branchRCL_3
changeset 12 68dc8923de26
parent 0 33413c0669b9
equal deleted inserted replaced
8:032d3a818f49 12:68dc8923de26
   271 
   271 
   272 
   272 
   273 void CIkev2PluginSession::DoDeleteIkeSAExhangeL(TIkev2SAData& aIkev2SAdata)
   273 void CIkev2PluginSession::DoDeleteIkeSAExhangeL(TIkev2SAData& aIkev2SAdata)
   274     {
   274     {
   275     DEBUG_LOG1(_L("Deleting IKE SA SAID =  %d"), aIkev2SAdata.SaId());
   275     DEBUG_LOG1(_L("Deleting IKE SA SAID =  %d"), aIkev2SAdata.SaId());
   276                 
   276                     
   277     __ASSERT_DEBUG(iFirstNegotiation == NULL, User::Invariant());
   277     CIkev2Negotiation* negotiation = CIkev2Negotiation::NewL(*this, iPfKeySocketIf, 
   278     
   278                                                              iEventLogger, *iMessageSendQue, 
   279    CIkev2Negotiation* negotiation = CIkev2Negotiation::NewL(*this, iPfKeySocketIf, 
   279                                                              iDebug, aIkev2SAdata);
   280                                                             iEventLogger, *iMessageSendQue, 
   280     CleanupStack::PushL(negotiation);
   281                                                             iDebug, aIkev2SAdata);
   281     negotiation->StartIkeSADeleteL();
   282    CleanupStack::PushL(negotiation);
   282     CleanupStack::Pop(negotiation);
   283    negotiation->StartIkeSADeleteL();
   283     __ASSERT_DEBUG( !negotiation->Stopped(), User::Invariant() );    
   284    CleanupStack::Pop(negotiation);
       
   285    
       
   286    __ASSERT_DEBUG( !negotiation->Stopped(), User::Invariant() );
       
   287 
       
   288     }
   284     }
   289 
   285 
   290 
   286 
   291 void CIkev2PluginSession::CancelDeleteSession()
   287 void CIkev2PluginSession::CancelDeleteSession()
   292     {
   288     {