vpnengine/ikev1lib/src/ikev1plugin.cpp
branchRCL_3
changeset 49 5960d2d03390
parent 46 29c8f9bc68e1
--- a/vpnengine/ikev1lib/src/ikev1plugin.cpp	Wed Sep 15 13:20:54 2010 +0300
+++ b/vpnengine/ikev1lib/src/ikev1plugin.cpp	Wed Oct 13 15:42:16 2010 +0300
@@ -65,7 +65,6 @@
     iPluginSessions.Close();    
     delete iPFKeySocket;
     delete iIpsecPolicyUtil;
-    delete iSoftToken;
     }
 
 // ---------------------------------------------------------------------------
@@ -89,14 +88,6 @@
                                          iDebug );
     
     iIpsecPolicyUtil = CIpsecPolicyUtil::NewL();
-
-    TInt err(KErrNone);
-    TRAP(err, iSoftToken = CSoftTokenPluginIf::NewL());
-#ifdef _DEBUG            
-             if (err != KErrNone)
-                 DEBUG_LOG(_L("SoftTokenPlugin not found"));
-#endif // _DEBUG             
-
     }
     
 // ---------------------------------------------------------------------------
@@ -247,14 +238,3 @@
     return iEventLogger;
     }
 
-// ---------------------------------------------------------------------------
-// Returns SoftToken interface.
-// ---------------------------------------------------------------------------
-//
-//MSoftTokenPluginIf* CIkev1Plugin::SoftToken()
-CSoftTokenPluginIf* CIkev1Plugin::SoftToken()
-    {
-    return iSoftToken;
-    }
-
-