aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ecies.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-15 22:34:25 -0500
committerJack Lloyd <[email protected]>2016-11-15 22:34:25 -0500
commit43d16fe3a821fd694b4db8edc9e33ca8a1715d99 (patch)
tree4606ec79686f1b192bfc1ef7d0f23ef39f0c3795 /src/tests/test_ecies.cpp
parentdb3a868cb8c477dbd909bed53879f2124a443306 (diff)
Fix TLS corruption tests.
There is a simple bit flip corruption test for the TLS stack: we shouldn't negotiate correctly if any random bit gets flipped. But it turns out this is not entirely true as the record layer version field is effectively ignored except for distinguishing TLS vs DTLS. So a small bitflip in that field is sometimes ignored, causing the test to fail. Make sure we modify something in the body instead.
Diffstat (limited to 'src/tests/test_ecies.cpp')
0 files changed, 0 insertions, 0 deletions