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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:143:    } else if(version >= PROTOCOL_TLS_1_2) {    return session->cipher_spec->prf(session->master_secret, sender,    session->cipher_spec->hash->hash(handshake_messages), 12);    }   }      Packet certificate_packet(array(string(8bit)) certificates)   {    Buffer struct = Buffer();    struct->put_var_string_array(certificates, 3, 3); -  return handshake_packet(HANDSHAKE_certificate, struct->pop_data()); +  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;   }