(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.36 and 1.37

version 1.36, 2008/12/02 09:00:52 version 1.37, 2009/01/20 20:12:48
Line 127 
Line 127 
  
         _sslLocks.reset(new Mutex[CRYPTO_num_locks()]);         _sslLocks.reset(new Mutex[CRYPTO_num_locks()]);
  
 # if defined(PEGASUS_HAVE_PTHREADS) && !defined(PEGASUS_OS_VMS)  #ifdef PEGASUS_HAVE_PTHREADS
         // Set the ID callback. The ID callback returns a thread ID.         // Set the ID callback. The ID callback returns a thread ID.
   # ifdef PEGASUS_OS_VMS
           CRYPTO_set_id_callback((CRYPTO_SET_ID_CALLBACK) _getThreadId);
   # else
         CRYPTO_set_id_callback((CRYPTO_SET_ID_CALLBACK) pthread_self);         CRYPTO_set_id_callback((CRYPTO_SET_ID_CALLBACK) pthread_self);
 # endif # endif
   #endif
  
         // Set the locking callback.         // Set the locking callback.
  
Line 138 
Line 142 
             (CRYPTO_SET_LOCKING_CALLBACK) _lockingCallback);             (CRYPTO_SET_LOCKING_CALLBACK) _lockingCallback);
     }     }
  
   #if defined(PEGASUS_OS_VMS) && defined(PEGASUS_HAVE_PTHREADS)
       static unsigned long _getThreadId(void)
       {
           return pthread_getsequence_np(pthread_self());
       }
   #endif
     /*     /*
         Reset the SSL locking and ID callbacks.         Reset the SSL locking and ID callbacks.
     */     */


Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2