From aa15467a3f9190ad1a6d1e3ecbe3092a9268342d Mon Sep 17 00:00:00 2001 From: david Date: Tue, 3 Dec 2013 17:12:15 +0000 Subject: [PATCH] Fix the off-by-one in ssl-enum-ciphers that I reintroduced. --- scripts/ssl-enum-ciphers.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ssl-enum-ciphers.nse b/scripts/ssl-enum-ciphers.nse index 193c6e40b..86ad7715d 100644 --- a/scripts/ssl-enum-ciphers.nse +++ b/scripts/ssl-enum-ciphers.nse @@ -832,7 +832,7 @@ local function in_chunks(t, size) local ret = {} for i = 1, #t, size do local chunk = {} - for j = i, i + size do + for j = i, i + size - 1 do chunk[#chunk+1] = t[j] end ret[#ret+1] = chunk