forked from wolfSSL/wolfssl
src/wolfio.c: update patch to wolfIO_HttpProcessResponse() (PR #3204).
This commit is contained in:
@@ -1112,7 +1112,8 @@ int wolfIO_HttpProcessResponse(int sfd, const char** appStrList,
|
|||||||
start[len] = 0;
|
start[len] = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
result = wolfSSL_LastError();
|
result = TranslateReturnCode(result, sfd);
|
||||||
|
result = wolfSSL_LastError(result);
|
||||||
if (result == SOCKET_EWOULDBLOCK || result == SOCKET_EAGAIN) {
|
if (result == SOCKET_EWOULDBLOCK || result == SOCKET_EAGAIN) {
|
||||||
return OCSP_WANT_READ;
|
return OCSP_WANT_READ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user