commit | 5e961c1ff1515fb328de711b0ee795253199b298 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Fri Nov 07 01:48:35 2014 -0500 |
committer | Adam Langley <agl@google.com> | Mon Nov 10 23:58:56 2014 +0000 |
tree | 901cfe4d9c23547a53ff6bb2469d6d50c27250ac | |
parent | 0d82482e47c38afc146618809e5631037fc5da75 [diff] |
Add DTLS replay tests. At the record layer, DTLS maintains a window of seen sequence numbers to detect replays. Add tests to cover that case. Test both repeated sequence numbers within the window and sequence numbers past the window's left edge. Also test receiving sequence numbers far past the window's right edge. Change-Id: If6a7a24869db37fdd8fb3c4b3521b730e31f8f86 Reviewed-on: https://boringssl-review.googlesource.com/2221 Reviewed-by: Adam Langley <agl@google.com>