Branch: Tag:

2014-05-15

2014-05-15 21:19:59 by Martin Nilsson <nilsson@opera.com>

import .

39:   #define SSL3_DEBUG_MSG(X ...)   #endif /* SSL3_DEBUG */    - import .Constants; + import "."; + import Constants;    - #define Session .Session -  +    //! The minimum supported protocol version.   //!   //! Defaults to @[PROTOCOL_SSL_3_0].
59:   //! This value should not be less than @[min_version].   ProtocolVersion max_version = PROTOCOL_TLS_MAX;    - //! @decl Alert alert_factory(SSL.connection con, int level, int description, @ + //! @decl Alert alert_factory(SSL.Connection con, int level, int description, @   //! ProtocolVersion version, @   //! string|void message, mixed|void trace)   //!
83:   //! @note   //! Not all alerts are fatal, and some (eg @[ALERT_close_notify]) are used   //! during normal operation. - .Alert alert_factory(object con, + Alert alert_factory(object con,    int(1..2) level, int(0..255) description,    ProtocolVersion version, string|void message)   { -  return .Alert(level, description, version, message); +  return Alert(level, description, version, message);   }      //! Should an SSL client include the Server Name extension?
228:   //! The maximum amount of data that is sent in each SSL packet by   //! @[sslfile]. A value between 1 and   //! @[SSL.Constants.PACKET_MAX_SIZE]. - int packet_max_size = SSL.Constants.PACKET_MAX_SIZE; + int packet_max_size = PACKET_MAX_SIZE;      protected int cert_sort_key(CertificatePair cp)   {
1135: Inside #if 0
     #if 0   //! Parameters for dh keyexchange. - .Cipher.DHKeyExchange dh_ke; + Cipher.DHKeyExchange dh_ke;   #endif      //! Set @[preferred_suites] to RSA based methods.