Skip to content
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

Log level for "got supported group" message is set to Error #6765

Closed
szymonsasin-nordic opened this issue Dec 12, 2022 · 0 comments · Fixed by #8207
Closed

Log level for "got supported group" message is set to Error #6765

szymonsasin-nordic opened this issue Dec 12, 2022 · 0 comments · Fixed by #8207
Labels
bug component-tls good-first-issue Good for newcomers size-s Estimated task size: small (~2d)

Comments

@szymonsasin-nordic
Copy link

Summary

During one successful DTLS handshake, I'm seeing a lot of these warnings:

ssl_client.c:261 got supported group(001d)
ssl_client.c:261 got supported group(0017)
ssl_client.c:261 got supported group(0018)
ssl_client.c:261 got supported group(001e)
ssl_client.c:261 got supported group(0019)
ssl_client.c:261 got supported group(001a)
ssl_client.c:261 got supported group(001b)
ssl_client.c:261 got supported group(001c)
ssl_client.c:261 got supported group(001d)
ssl_client.c:261 got supported group(0017)
ssl_client.c:261 got supported group(0018)
ssl_client.c:261 got supported group(001e)
ssl_client.c:261 got supported group(0019)
ssl_client.c:261 got supported group(001a)
ssl_client.c:261 got supported group(001b)
ssl_client.c:261 got supported group(001c)

Looks like, log level for "got supported group" message is set to Error: https://github.com/Mbed-TLS/mbedtls/blob/development/library/ssl_client.c#L261

Looking at log levels: https://github.com/Mbed-TLS/mbedtls/blob/development/include/mbedtls/debug.h#L144

System information

Mbed TLS version (number or commit id): a9ac612 (development branch)
Operating system and version: MacOS 13, Ubuntu 20
Configuration (if not default, please attach mbedtls_config.h): default
Compiler and options (if you used a pre-built binary, please indicate how you obtained it): compiled with make
Additional environment information:

Expected behavior

Log level to be 3 (Informational)

Actual behavior

Log level is set to 1 (Error)

Steps to reproduce

Run DTLS successful handshake

Additional information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component-tls good-first-issue Good for newcomers size-s Estimated task size: small (~2d)
Projects
None yet
2 participants