Skip to content

[zep fromlist] library: tls13: add guard for ssl_tls13_client_hello_has_exts()#86

Open
valeriosetti wants to merge 1 commit intozephyrproject-rtos:zephyr_mbedtls_v4.1.0from
valeriosetti:fix-tls13-guard
Open

[zep fromlist] library: tls13: add guard for ssl_tls13_client_hello_has_exts()#86
valeriosetti wants to merge 1 commit intozephyrproject-rtos:zephyr_mbedtls_v4.1.0from
valeriosetti:fix-tls13-guard

Conversation

@valeriosetti
Copy link
Copy Markdown
Collaborator

@valeriosetti valeriosetti commented Mar 23, 2026

Fix a warning for QUIC protocol as reported by @jukkar while working on zephyrproject-rtos/zephyr#103932.

The corresponding upstream PR is Mbed-TLS/mbedtls#10650

@tomi-font tomi-font changed the title library: tls13: add guard for ssl_tls13_client_hello_has_exts() [zep fromlist] library: tls13: add guard for ssl_tls13_client_hello_has_exts() Mar 25, 2026
Copy link
Copy Markdown
Collaborator

@tomi-font tomi-font left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • no -x when doing a fromlist
  • missing : in Upstream PR #: X

…as_exts()

All functions calling ssl_tls13_client_hello_has_exts() has guards for
TLS13 key exchanges. When all of them are disabled this cause a complier
complain for unused function.
This commit resolves this warning by adding proper guards to
ssl_tls13_client_hello_has_exts().

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>

Upstream PR #: 10650
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants