Skip to content

wolftls: require ServerName when peer verification is enabled - #51

Open
night1rider wants to merge 2 commits into
wolfSSL:masterfrom
night1rider:fenrir-6394
Open

wolftls: require ServerName when peer verification is enabled#51
night1rider wants to merge 2 commits into
wolfSSL:masterfrom
night1rider:fenrir-6394

Conversation

@night1rider

Copy link
Copy Markdown
Contributor

A client with InsecureSkipVerify=false but an empty ServerName currently completes the handshake without ever checking the certificate's name.

This rejects that configuration up front, matching crypto/tls ("either ServerName or InsecureSkipVerify must be specified").

Includes a wolftls test that fails before the change and passes after.

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