-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
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
MacOS unit tests fail with MbedTLS #2694
Comments
@scaprile Any pointer to the failing test? |
@cpq This is the test log. Fails consistently every night:
|
While cleaning up str.h, I noticed a failure on my machine, maybe it shines some light. I added an MG_INFO to show the path taken in mg_tls_init():
|
when use mbedtls 3.x and tls1.3, must call psa_crypto_init before tls handshake, otherwise should occur error: TLS handshake: -0x6c00 like this: ihotray/libiot@3e7bf9f |
@hotraygroup Thank you, can you please explain why and how this is related to this issue ? We are not using PSA and there is no such error in the log above. |
Yes, apparently this psa init is required for the newer versions of mbedTLS. |
Mbed-TLS/mbedtls#9072 (comment) maybe this issue only in 3.6lts |
changes taken from: cesanta/mongoose#2694 cesanta/mongoose#2745
I can confirm only Mbed-TLS 3.6 (default version via brew on macOS) was not working with mongoose (TLS handshake: -0x6c00), previous 3.5.2 worked fine. |
Apparently the root cause for it is this: Closing this. |
The text was updated successfully, but these errors were encountered: