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

Add left-most wildcard matching support to X509_check_host() #7966

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cconlon
Copy link
Member

@cconlon cconlon commented Sep 11, 2024

Description

This PR adds left-most only wildcard matching to wolfSSL_X509_check_host() by introducing a new custom function flag called WOLFSSL_LEFT_MOST_WILDCARD_ONLY.

Left-most wildcard matching support is used for the Server Identity Check in RFC 2830 (Lightweight Directory Access Protocol (v3): Extension for Transport Layer Security). This matching support added in this PR will be consumed/used by wolfJSSE LDAPS endpoint identification support, which will be opened in a separate PR on wolfssljni.

Testing

Unit tests have been added to tests/api.c.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@cconlon cconlon self-assigned this Sep 11, 2024
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.

1 participant