commit | 3e3090dc50193f32219d24f62145bfbe3d8ee7fc | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Sun Apr 05 12:48:30 2015 -0400 |
committer | Adam Langley <agl@google.com> | Thu May 21 17:59:36 2015 +0000 |
tree | 4db579d3ce66237aac26883651105e10bc1b417c | |
parent | 31a07798a54289614d71f71ca591b9ed0de0b955 [diff] |
Pass a dtls1_use_epoch enum down to dtls1_seal_record. This is considerably less scary than swapping out connection state. It also fixes a minor bug where, if dtls1_do_write had an alert to dispatch and we happened to retry during a rexmit, it would use the wrong epoch. BUG=468889 Change-Id: I754b0d46bfd02f797f4c3f7cfde28d3e5f30c52b Reviewed-on: https://boringssl-review.googlesource.com/4793 Reviewed-by: Adam Langley <agl@google.com>