pike.git / lib / modules / SSL.pmod / Session.pike

version» Context lines:

pike.git/lib/modules/SSL.pmod/Session.pike:6:   //! choice of encryption algorithms and a "master secret" created by   //! keyexchange with a client. Each connection can either do a full key   //! exchange to established a new session, or reuse a previously   //! established session. That is why we have the session abstraction and   //! the session cache. Each session is used by one or more connections, in   //! sequence or simultaneously.   //!   //! It is also possible to change to a new session in the middle of a   //! connection.    + #include "tls.h" +    import ".";   import Constants;    - #ifdef SSL3_DEBUG - #define SSL3_DEBUG_MSG(X ...) werror(X) - #else /*! SSL3_DEBUG */ - #define SSL3_DEBUG_MSG(X ...) - #endif /* SSL3_DEBUG */ -  +    //! Identifies the session to the server   string(8bit) identity;      //! Always COMPRESSION_null.   int compression_algorithm;      //! Constant defining a choice of keyexchange, encryption and mac   //! algorithm.   int cipher_suite;