(file) Return to CIMClientRep.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Client

Diff for /pegasus/src/Pegasus/Client/CIMClientRep.cpp between version 1.27 and 1.28

version 1.27, 2004/07/21 17:43:57 version 1.28, 2004/08/16 22:45:56
Line 160 
Line 160 
         #ifdef PEGASUS_USE_23HTTPMONITOR_CLIENT         #ifdef PEGASUS_USE_23HTTPMONITOR_CLIENT
         _httpConnection = _httpConnector->connect(_connectHost,         _httpConnection = _httpConnector->connect(_connectHost,
                                                   _connectPortNumber,                                                   _connectPortNumber,
                                                   _connectSSLContext,                                                    _connectSSLContext.get(),
                                                   _responseDecoder);                                                   _responseDecoder);
         #else         #else
         _httpConnection = _httpConnector->connect(_connectHost,         _httpConnection = _httpConnector->connect(_connectHost,
Line 229 
Line 229 
             _requestEncoder = 0;             _requestEncoder = 0;
         }         }
  
         if (_connectSSLContext)  
         {  
             delete _connectSSLContext;  
             _connectSSLContext = 0;  
         }  
   
         _connected = false;         _connected = false;
     }     }
 } }
Line 283 
Line 277 
         _authenticator.setPassword(password);         _authenticator.setPassword(password);
     }     }
  
     _connectSSLContext = 0;      _connectSSLContext.reset(0);
     _connectHost = hostName;     _connectHost = hostName;
     _connectPortNumber = portNumber;     _connectPortNumber = portNumber;
  
Line 329 
Line 323 
         _authenticator.setPassword(password);         _authenticator.setPassword(password);
     }     }
  
     _connectSSLContext = new SSLContext(sslContext);      _connectSSLContext.reset(new SSLContext(sslContext));
     _connectHost = hostName;     _connectHost = hostName;
     _connectPortNumber = portNumber;     _connectPortNumber = portNumber;
  
Line 340 
Line 334 
     }     }
     catch (Exception&)     catch (Exception&)
     {     {
         delete _connectSSLContext;          _connectSSLContext.reset(0);
         _connectSSLContext = 0;  
         throw;         throw;
     }     }
 } }
Line 378 
Line 371 
         //         //
         _connectHost.assign(_getLocalHostName());         _connectHost.assign(_getLocalHostName());
  
         _connectSSLContext = 0;          _connectSSLContext.reset(0);
  
         _connect();         _connect();
     }     }
Line 421 
Line 414 
  
         try         try
         {         {
             _connectSSLContext =              _connectSSLContext.reset(
                 new SSLContext(String::EMPTY, NULL, randFile);                  new SSLContext(String::EMPTY, NULL, randFile));
         }         }
         catch (SSLException &se)         catch (SSLException &se)
         {         {
Line 435 
Line 428 
         }         }
         catch (Exception&)         catch (Exception&)
         {         {
             delete _connectSSLContext;              _connectSSLContext.reset();
             _connectSSLContext = 0;  
             throw;             throw;
         }         }
     }     }
Line 448 
Line 440 
 { {
     _disconnect();     _disconnect();
     _authenticator.clear();     _authenticator.clear();
       _connectSSLContext.reset();
 } }
  
  


Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2