(file) Return to SSLContextRep.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/SSLContextRep.h between version 1.38.6.1 and 1.42

version 1.38.6.1, 2011/10/11 18:18:09 version 1.42, 2013/08/06 08:37:37
Line 59 
Line 59 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
   #ifdef PEGASUS_HAS_SSL
 struct FreeX509STOREPtr struct FreeX509STOREPtr
 { {
     void operator()(X509_STORE* ptr)     void operator()(X509_STORE* ptr)
     {     {
 #ifdef PEGASUS_HAS_SSL  
         X509_STORE_free(ptr);         X509_STORE_free(ptr);
 #endif  
     }     }
 }; };
   #else
   struct FreeX509STOREPtr
   {
       void operator()(X509_STORE*)
       {
       }
   };
   #endif
   
  
 #ifdef PEGASUS_HAS_SSL #ifdef PEGASUS_HAS_SSL
  
Line 102 
Line 110 
             "In ~SSLEnvironmentInitializer(), _instanceCount is %d",             "In ~SSLEnvironmentInitializer(), _instanceCount is %d",
             _instanceCount));             _instanceCount));
  
   
         if (_instanceCount == 0)         if (_instanceCount == 0)
         {         {
               EVP_cleanup();
               CRYPTO_cleanup_all_ex_data();
             ERR_free_strings();             ERR_free_strings();
             _uninitializeCallbacks();             _uninitializeCallbacks();
         }         }
           ERR_remove_state(0);
     }     }
  
 private: private:
Line 162 
Line 174 
     static void _lockingCallback(     static void _lockingCallback(
         int mode,         int mode,
         int type,         int type,
         const char* file,          const char*,
         int line)          int)
     {     {
         if (mode & CRYPTO_LOCK)         if (mode & CRYPTO_LOCK)
         {         {
Line 232 
Line 244 
         const String& crlPath = String::EMPTY,         const String& crlPath = String::EMPTY,
         SSLCertificateVerifyFunction* verifyCert = NULL,         SSLCertificateVerifyFunction* verifyCert = NULL,
         const String& randomFile = String::EMPTY,         const String& randomFile = String::EMPTY,
         const String& cipherSuite = String::EMPTY);          const String& cipherSuite = String::EMPTY,
           const Boolean& sslCompatibility = false);
  
     SSLContextRep(const SSLContextRep& sslContextRep);     SSLContextRep(const SSLContextRep& sslContextRep);
  
Line 289 
Line 302 
     String _crlPath;     String _crlPath;
     String _randomFile;     String _randomFile;
     String _cipherSuite;     String _cipherSuite;
       Boolean _sslCompatibility;
     SSL_CTX * _sslContext;     SSL_CTX * _sslContext;
  
     Boolean _verifyPeer;     Boolean _verifyPeer;


Legend:
Removed from v.1.38.6.1  
changed lines
  Added in v.1.42

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2