src/wolfio.c: update patch to wolfIO_HttpProcessResponse() (PR #3204).

This commit is contained in:
Daniel Pouzzner
2020-09-02 11:01:51 -05:00
parent b99908ae66
commit 63e3eae416

View File

@@ -1112,7 +1112,8 @@ int wolfIO_HttpProcessResponse(int sfd, const char** appStrList,
start[len] = 0;
}
else {
result = wolfSSL_LastError();
result = TranslateReturnCode(result, sfd);
result = wolfSSL_LastError(result);
if (result == SOCKET_EWOULDBLOCK || result == SOCKET_EAGAIN) {
return OCSP_WANT_READ;
}