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

Diff for /pegasus/src/Pegasus/Common/SSLContext.cpp between version 1.72 and 1.74.4.2

version 1.72, 2006/08/22 17:49:09 version 1.74.4.2, 2006/11/22 15:21:55
Line 487 
Line 487 
     }     }
 } }
  
 static unsigned long _get_thread_id()  
 {  
 #if defined(PEGASUS_HAVE_PTHREADS)  
     return pthread_self();  
 #else  
     return 0;  
 #endif  
 }  
   
 // //
 // Initialize OpenSSL Locking and id callbacks. // Initialize OpenSSL Locking and id callbacks.
 // //
Line 513 
Line 504 
  
      _sslLocks.reset(new Mutex[CRYPTO_num_locks()]);      _sslLocks.reset(new Mutex[CRYPTO_num_locks()]);
  
   #if defined(PEGASUS_HAVE_PTHREADS) && !defined(PEGASUS_OS_VMS)
      // Set the ID callback. The ID callback returns a thread ID.      // Set the ID callback. The ID callback returns a thread ID.
        CRYPTO_set_id_callback((CRYPTO_SET_ID_CALLBACK) pthread_self);
      CRYPTO_set_id_callback((CRYPTO_SET_ID_CALLBACK)_get_thread_id);  #endif
  
      // Set the locking callback to pegasus_locking_callback.      // Set the locking callback to pegasus_locking_callback.
  
Line 1586 
Line 1578 
     PEG_METHOD_EXIT();     PEG_METHOD_EXIT();
 } }
  
   #define PEGASUS_ARRAY_T SSLCertificateInfoRep
   # include <Pegasus/Common/ArrayImpl.h>
   #undef PEGASUS_ARRAY_T
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  


Legend:
Removed from v.1.72  
changed lines
  Added in v.1.74.4.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2