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

Diff for /pegasus/src/Pegasus/Common/SSLContext.h between version 1.22 and 1.23

version 1.22, 2004/06/30 15:09:53 version 1.23, 2004/06/30 18:20:14
Line 55 
Line 55 
 // Pegasus-defined SSL certificate verification callback // Pegasus-defined SSL certificate verification callback
 typedef Boolean (SSLCertificateVerifyFunction) (SSLCertificateInfo &certInfo); typedef Boolean (SSLCertificateVerifyFunction) (SSLCertificateInfo &certInfo);
  
 // index to the application-specific data in the SSL connection object  
 static const int SSL_CALLBACK_INDEX = 0;  
   
 /** This class provides information that is used during the SSL verification callback. /** This class provides information that is used during the SSL verification callback.
     We pass a pointer to this object to the SSL_set_ex_data function.  We can then use SSL_get_ex_data     We pass a pointer to this object to the SSL_set_ex_data function.  We can then use SSL_get_ex_data
     from within the callback and cast the void* back to this object.  In this case, we store a pointer     from within the callback and cast the void* back to this object.  In this case, we store a pointer
Line 71 
Line 68 
 { {
 public: public:
  
           // index to the application-specific data in the SSL connection object
       static const int SSL_CALLBACK_INDEX;
   
     SSLCallbackInfo(SSLCertificateVerifyFunction* verifyCert);     SSLCallbackInfo(SSLCertificateVerifyFunction* verifyCert);
  
     ~SSLCallbackInfo();     ~SSLCallbackInfo();


Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2