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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:147:    }       // Handshake hash is only calculated once.    handshake_messages = 0;    return hash;   }      Packet certificate_packet(array(string(8bit)) certificates)   {    Buffer struct = Buffer(); -  struct->put_var_string_array(certificates, 3, 3); +  struct->add_string_array(certificates, 3, 3);    return handshake_packet(HANDSHAKE_certificate, struct->read());   }      Packet heartbeat_packet(string(8bit) s)   {    Packet packet = Packet(version);    packet->content_type = PACKET_heartbeat;    packet->fragment = s;    return packet;   }