From 63e3eae41628b1e14ef57bd85b420b50a187b994 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Wed, 2 Sep 2020 11:01:51 -0500 Subject: [PATCH] src/wolfio.c: update patch to wolfIO_HttpProcessResponse() (PR #3204). --- src/wolfio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wolfio.c b/src/wolfio.c index d5f5bf3da..0958e47f5 100644 --- a/src/wolfio.c +++ b/src/wolfio.c @@ -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; }