mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #5920 from jpbland1/unrecognized-http-header
remove http header length check for CRL verification
This commit is contained in:
@ -1529,12 +1529,6 @@ int wolfIO_HttpProcessResponse(int sfd, const char** appStrList,
|
|||||||
case phr_http_start:
|
case phr_http_start:
|
||||||
case phr_have_length:
|
case phr_have_length:
|
||||||
case phr_have_type:
|
case phr_have_type:
|
||||||
if (XSTRLEN(start) < 13) { /* 13 is the shortest of the following
|
|
||||||
next lines we're checking for. */
|
|
||||||
WOLFSSL_MSG("wolfIO_HttpProcessResponse content type is too short.");
|
|
||||||
return HTTP_VERSION_ERR;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (XSTRNCASECMP(start, "Content-Type:", 13) == 0) {
|
if (XSTRNCASECMP(start, "Content-Type:", 13) == 0) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user