Skip to content

Conversation

maximilianfridrich
Copy link
Contributor

@maximilianfridrich maximilianfridrich commented Jul 30, 2024

The servername_callback is also called when the server requests a certificate in the ServerHello. However, the server will not usually send us the server_name extension. So skip the SNI check if we are client. Also continue if the server_name extension is not present.

@maximilianfridrich maximilianfridrich force-pushed the sni_fixes branch 3 times, most recently from 1c83988 to e926362 Compare July 30, 2024 08:20
@maximilianfridrich maximilianfridrich changed the title tls/sni: skip SNI check if we are client tls/sni: skip SNI check if we are client or server_name absent Jul 30, 2024
The servername_callback is also called when the server requests a
certificate in the ServerHello. However, the server will not usually
send us the server_name extension. So skip the SNI check if we are
client. Also continue if the server_name extension is not present.
@sreimers sreimers merged commit a64cb83 into baresip:main Jul 30, 2024
36 checks passed
@maximilianfridrich maximilianfridrich deleted the sni_fixes branch July 30, 2024 11:20
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.

2 participants