diff -r 1697cc2ba93d -r a800ea6cb454 networksecurity/tls/ts_tls/TlsTestStep1.cpp --- a/networksecurity/tls/ts_tls/TlsTestStep1.cpp Thu Sep 23 17:23:35 2010 +0530 +++ b/networksecurity/tls/ts_tls/TlsTestStep1.cpp Tue Oct 12 16:22:59 2010 +0530 @@ -42,8 +42,6 @@ #include "tlsconnection.h" -GLREF_C void CommInitL(); - _LIT( KTxtTLS, "T_TLS" ); CTestStepT_Tls::CTestStepT_Tls() @@ -69,10 +67,7 @@ // if the test has not left yet it must be a Pass iTestStepResult = EPass; - TRAPD(error,CommInitL()); // init needed comms libs - __ASSERT_ALWAYS(!error,User::Panic(KTxtTLS,error)); - - TRAP(error,TLSTestL()); // more initialization, then do example + TRAPD(error,TLSTestL()); // more initialization, then do example __ASSERT_ALWAYS(!error,User::Panic(KTxtTLS,error)); return iTestStepResult; @@ -140,9 +135,6 @@ _LIT(KSSLProtocol,"tls1.0"); TRequestStatus Status; - TRAPD(error,CommInitL()); // init needed comms libs - __ASSERT_ALWAYS(!error,User::Panic(KTxtTLS,error)); - // Create an active scheduler CActiveScheduler* myActiveScheduler; myActiveScheduler = new(ELeave) CActiveScheduler(); @@ -249,9 +241,6 @@ TRequestStatus Status; TVerdict result = EFail; - TRAPD(error,CommInitL()); // init needed comms libs - __ASSERT_ALWAYS(!error,User::Panic(KTxtTLS,error)); - // Create an active scheduler CActiveScheduler* myActiveScheduler; myActiveScheduler = new(ELeave) CActiveScheduler();