Branch: Tag:

2014-11-20

2014-11-20 12:20:30 by Martin Nilsson <nilsson@opera.com>

Use Context.random for IV generation.

495:    state = [int(0..0)|ConnectionState](state | CONNECTION_local_closed);    }    } -  string res = current_write_state->encrypt_packet(packet)->send(); +  string res = current_write_state->encrypt_packet(packet, context)->send();    if (packet->content_type == PACKET_change_cipher_spec)    current_write_state = pending_write_state;    return res;