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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Session.pike:414:   //! @param signature_algorithms   //! The set of signature algorithms tuples that the client claims to   //! support.   //!   //! @param max_hash_size   //!   int set_cipher_suite(int suite, ProtocolVersion version,    array(array(int)) signature_algorithms,    int max_hash_size)   { -  this_program::version = version; +  this::version = version;       cipher_spec = Cipher.lookup(suite, version, signature_algorithms,    truncated_hmac?512:max_hash_size);    if (!cipher_spec) return 0;       cipher_suite = suite;    SSL3_DEBUG_MSG("SSL.Session: cipher_spec %O\n",    mkmapping(indices(cipher_spec), values(cipher_spec)));    return 1;   }