forked from wolfSSL/wolfssl
Fix formatting, add check to not support plain HTTP requests in DTLS
This commit is contained in:
@@ -10448,7 +10448,7 @@ static int GetRecordHeader(WOLFSSL* ssl, word32* inOutIdx,
|
|||||||
case no_type:
|
case no_type:
|
||||||
default:
|
default:
|
||||||
#ifdef OPENSSL_ALL
|
#ifdef OPENSSL_ALL
|
||||||
{
|
if (!ssl->options.dtls) {
|
||||||
char *method = (char*)ssl->buffers.inputBuffer.buffer + start;
|
char *method = (char*)ssl->buffers.inputBuffer.buffer + start;
|
||||||
/* Attempt to identify if this is a plain HTTP request.
|
/* Attempt to identify if this is a plain HTTP request.
|
||||||
* No size checks because this function assumes at least
|
* No size checks because this function assumes at least
|
||||||
|
Reference in New Issue
Block a user