Skip to content

Conversation

kevinior
Copy link
Contributor

@kevinior kevinior commented Oct 1, 2025

Setting the peer hostname to NULL does not skip hostname verification. After discussion in the issue it was agreed that it's better to remove this comment than to implement skipping hostname verification.

Also fixed a typo in the remaining part of the comment.

Fixes: #96853

@jukkar
Copy link
Member

jukkar commented Oct 2, 2025

@kevinior could you rebase the PR against latest main and force push, there is unrelated CI failure that is probably fixed by rebase.

Setting the peer hostname to NULL does not skip hostname verification.
After discussion in the issue it was agreed that it's better to remove
this comment than to implement skipping hostname verification.

Also fixed a typo in the remaining part of the comment.

Fixes: zephyrproject-rtos#96853

Signed-off-by: Kevin ORourke <kevin.orourke@ferroamp.se>
@kevinior kevinior force-pushed the 96853_remove_misleading_comment branch from 7ead272 to 0c6ef1b Compare October 2, 2025 07:28
@kevinior
Copy link
Contributor Author

kevinior commented Oct 2, 2025

@kevinior could you rebase the PR against latest main and force push, there is unrelated CI failure that is probably fixed by rebase.

Done, I'm hoping it gets through CI this time.

Copy link

sonarqubecloud bot commented Oct 2, 2025

@cfriedt cfriedt merged commit f5a783c into zephyrproject-rtos:main Oct 4, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mqtt: Setting null TLS hostname in mqtt_sec_config doesn't work
6 participants