summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-18 15:35:32 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-09-19 08:12:48 +0000
commit041e7bd5edb38399cc416e7a9a165d0ad7865368 (patch)
tree7bbbfc92387a8afe5bc14d89aee86e10f2eb5f7c
parentce6899d35b665e511785fc9790a1fbd0225654d1 (diff)
downloadgnutls-041e7bd5edb38399cc416e7a9a165d0ad7865368.tar.gz
tlsfuzzer: document the reason of failure of few fragmentation tests
It seems that gnutls does not accept records carrying handshake messages that contain less bytes than necessary to recover the handshake header. The TLS protocol allows that option, and other implementations seem to accept that fragmentation. Relates #272 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--tests/suite/tls-fuzzer/gnutls-nocert.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/suite/tls-fuzzer/gnutls-nocert.json b/tests/suite/tls-fuzzer/gnutls-nocert.json
index f8a19523d3..69b1eb753b 100644
--- a/tests/suite/tls-fuzzer/gnutls-nocert.json
+++ b/tests/suite/tls-fuzzer/gnutls-nocert.json
@@ -20,7 +20,7 @@
"ext padding, 16130 bytes",
"ext padding, 65367 bytes"]},
{"name" : "test-large-hello.py",
- "comment" : "we don't support fragmentation in client hello",
+ "comment" : "These tests rely on fragmenting the first bytes of the handshake header. Gnutls is limited on that, and doesn't accept handshake header fragmentation.",
"arguments" :
["sanity check - fragmented",
"fragmented, padding ext 0 bytes",
@@ -126,7 +126,7 @@
"comment" : "gnutls doesn't support interleaved data with handshake",
"exp_pass" : false},
{"name" : "test-record-layer-fragmentation.py",
- "comment" : "FIXME: these need investigation",
+ "comment" : "These tests rely on fragmenting the first bytes of the handshake header. Gnutls is limited on that, and doesn't accept handshake header fragmentation.",
"arguments" : ["-e", "non fragmented, over fragmentation limit: 65535 fragment - 16332B extension",
"-e", "small, maximum fragmentation: 1 fragment - 20B extension",
"-e", "medium, maximum fragmentation: 1 fragment - 1024B extension"]},