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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:124:    str = sprintf("%1c%3H", type, str);    handshake_messages += str;       /* Perhaps one need to split large packages? */    Packet packet = Packet(version, PACKET_handshake, str);    return packet;   }      Packet change_cipher_packet()   { +  expect_change_cipher = 1;    return Packet(version, PACKET_change_cipher_spec, "\001");   }      string(8bit) hash_messages(string(8bit) sender)   {    string(8bit) hash;    if(version == PROTOCOL_SSL_3_0) {    string(8bit) data = handshake_messages + sender;    hash = .Cipher.MACmd5(session->master_secret)->hash(data) +    .Cipher.MACsha(session->master_secret)->hash(data);