Skip to content

Servername callback - #2

Open
ZettaScript wants to merge 3 commits into
PinkP4nther:masterfrom
ZettaScript:callback-contrib
Open

ZettaScript wants to merge 3 commits into
PinkP4nther:masterfrom
ZettaScript:callback-contrib

Conversation

@ZettaScript

Copy link
Copy Markdown

Add ability to give a callback that can be used to dynamically choose the certificates depending on the requested servername.

I also cleaned the code according to cargo fmt and clippy. Notably renamed some types to avoid capitalized acronyms, I hope it's OK.

This is semver-breaking.

Should I add an example? I admit using the feature is not trivial because you have to read OpenSSL's doc and link the dots with the Rust binding which is incomplete.

Closes #1

@PinkP4nther

Copy link
Copy Markdown
Owner

Hey! Thanks for contributing, an example would be great if its any odd or unique behavior requiring OpenSSL doc etc.
Let me know if you want to add the example or not and I will merge the PR after your response!

Sorry for taking so long, this account is dead haha.

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.

Servername callback and dynamic certificate choice

2 participants