Closed redbaron closed 4 days ago
Can one of the admins verify this patch?
Hi @redbaron,
Thank you for this PR. I do not see you are an approved contributor. For such a small change we will likely treat as a bug report, attempt to reproduce and fix ourselves. Can you tell us more about your project?
Thanks, David Garske, wolfSSL
@redbaron is approved as a wolfSSL contributor
fixed by #8195 -- thank you @redbaron for getting the ball rolling on this!
Description
Functions in
wolfio.c
unconditionally reference SOCKET_* error codes, even iferrno.h
is conditionally included in wolfio.h.When compiled with at least WOLFSSL_NO_SOCK + WOLFSSO_USERIO
wolfio.h
decides not to includeerrno.h
and therefore SOCKET* symbols are missing.Instead of changing "decision tree" in
wolfio.h
and risking breaking it on platforms I couldn't test, use "last resort" include of 'errno.h' in the wolfio.c if configure process detected its presence.Testing
Built with WOLFSSL_USER_IO and WOLFSSL_NO_SOCK
Checklist