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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:22:   //! @[ClientConnection] or @[ServerConnection]) depending on whether   //! this is to be a client-side or server-side connection. These in   //! turn are typically created by @[File()->create()].   //!   //! @seealso   //! @[ClientConnection], @[ServerConnection], @[Context],   //! @[Session], @[File], @[State]      //#define SSL3_PROFILING    + #include "tls.h" +    import .Constants;      private constant State = .State;   private constant Session = .Session;   private constant Context = .Context;   private constant Buffer = .Buffer;    - #ifdef SSL3_DEBUG - #define SSL3_DEBUG_MSG(X ...) werror(X) - #else /*! SSL3_DEBUG */ - #define SSL3_DEBUG_MSG(X ...) - #endif /* SSL3_DEBUG */ -  +    Session session;   Context context;      array(State) pending_read_state = ({});   array(State) pending_write_state = ({});      /* State variables */      int handshake_state; // Constant.STATE_*   int previous_handshake; // Constant.HANDSHAKE_*