(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 and 1.41.10.1

version 1.38, 2009/05/05 09:01:28 version 1.41.10.1, 2013/08/13 04:24:34
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 231 
Line 243 
         const String& keyPath = String::EMPTY,         const String& keyPath = String::EMPTY,
         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 Boolean& sslCompatibility = false);
  
     SSLContextRep(const SSLContextRep& sslContextRep);     SSLContextRep(const SSLContextRep& sslContextRep);
  
Line 245 
Line 259 
  
     String getKeyPath() const;     String getKeyPath() const;
  
       String getCipherSuite() const;
   
 #ifdef PEGASUS_USE_DEPRECATED_INTERFACES #ifdef PEGASUS_USE_DEPRECATED_INTERFACES
     String getTrustStoreUserName() const;     String getTrustStoreUserName() const;
 #endif #endif
Line 285 
Line 301 
     String _keyPath;     String _keyPath;
     String _crlPath;     String _crlPath;
     String _randomFile;     String _randomFile;
       String _cipherSuite;
       Boolean _sslCompatibility;
     SSL_CTX * _sslContext;     SSL_CTX * _sslContext;
  
     Boolean _verifyPeer;     Boolean _verifyPeer;


Legend:
Removed from v.1.38  
changed lines
  Added in v.1.41.10.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2