aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-03 09:59:04 -0500
committerJack Lloyd <[email protected]>2018-12-03 09:59:04 -0500
commit6bf823ce117e966d51ec836af54510ecca66c818 (patch)
treea089690765170b00ff66252a5591e8efc1957fdd /src/tests
parent10cde6b85d018979fd94fc1c83f27758f4b134b6 (diff)
Fix bug in TLS CBC unpadding
Regression introduced in 007314c5 Found by OSS-Fuzz (bug id 11693)
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/data/tls_cbc_padding.vec6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/data/tls_cbc_padding.vec b/src/tests/data/tls_cbc_padding.vec
index c218f134b..9f14d48af 100644
--- a/src/tests/data/tls_cbc_padding.vec
+++ b/src/tests/data/tls_cbc_padding.vec
@@ -5,6 +5,9 @@ Output = 1
Record = 0A
Output = 0
+Record = 01
+Output = 0
+
Record = 0101
Output = 2
@@ -32,6 +35,9 @@ Output = 0
Record = 0903030303
Output = 4
+Record = 04040404
+Output = 0
+
Record = FFFFFFFFFFFFFFFFFF03030303
Output = 4