mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
Sniffer should ignore MATCH_SUITE_ERRORs when processing old client
hello messages.
This commit is contained in:
@@ -1782,7 +1782,7 @@ static int DoOldHello(SnifferSession* session, const byte* sslFrame,
|
|||||||
|
|
||||||
ret = ProcessOldClientHello(session->sslServer, input, &idx, *sslBytes,
|
ret = ProcessOldClientHello(session->sslServer, input, &idx, *sslBytes,
|
||||||
*rhSize);
|
*rhSize);
|
||||||
if (ret < 0) {
|
if (ret < 0 && ret != MATCH_SUITE_ERROR) {
|
||||||
SetError(BAD_OLD_CLIENT_STR, error, session, FATAL_ERROR_STATE);
|
SetError(BAD_OLD_CLIENT_STR, error, session, FATAL_ERROR_STATE);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user