We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MingW doesn't have strnlen() which is needed in sniffer.c + snifftest.c. To solve it, I added this to my config.h:
strnlen()
config.h
extern __inline__ size_t strnlen (const char *str, size_t maxsize) { size_t n; for (n = 0; n < maxsize && *str; n++, str++) ; return (n); }
Maybe the missing functions (strnlen, strsep) could be added to a more suitable place?
The text was updated successfully, but these errors were encountered:
1. In the sniffer, replace call to strnlen with strlen and
0458e21
accounted for size differences (fixes issue #60) 2. fixed overrun with long SNI names in hello messages
I replaced the call to strnlen() with strlen() and did my size check separately. strnlen() isn't very portable, as you found, so we shouldn't use it.
strlen()
Sorry, something went wrong.
Merge pull request wolfSSL#60 from JacobBarthelmeh/testing
d23a47b
revert increment of nameListIdx for RSA connection
Merge pull request wolfSSL#60 from dgarske/release_v5.5.4
928f112
Async release v5.5.4
No branches or pull requests
MingW doesn't have
strnlen()
which is needed in sniffer.c + snifftest.c. To solve it, I added this to myconfig.h
:Maybe the missing functions (strnlen, strsep) could be added to a more suitable place?
The text was updated successfully, but these errors were encountered: