The dh_key_exchange::compute_secret method returns 1 on failure, but the peer
connection handshake assumes it returns -1 on failure.
// read dh key, generate shared secret
if (m_dh_key_exchange->compute_secret(recv_buffer.begin) == -1)
{
disconnect(errors::no_memory);
return;
}
Original issue reported on code.google.com by rmaudsley on 6 Nov 2014 at 4:11
Original issue reported on code.google.com by
rmaudsley
on 6 Nov 2014 at 4:11