From 77403c7ee22a307c8306ac28fdffe1d04c585b48 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 21 Feb 2014 16:33:47 -0800 Subject: [PATCH] Sniffer should ignore MATCH_SUITE_ERRORs when processing old client hello messages. --- src/sniffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sniffer.c b/src/sniffer.c index b94eb503c..6779b4d8e 100644 --- a/src/sniffer.c +++ b/src/sniffer.c @@ -1782,7 +1782,7 @@ static int DoOldHello(SnifferSession* session, const byte* sslFrame, ret = ProcessOldClientHello(session->sslServer, input, &idx, *sslBytes, *rhSize); - if (ret < 0) { + if (ret < 0 && ret != MATCH_SUITE_ERROR) { SetError(BAD_OLD_CLIENT_STR, error, session, FATAL_ERROR_STATE); return -1; }