Skip to content

Conversation

pablosole
Copy link

@pablosole pablosole commented Jun 5, 2019

This PR adds the methods set_verify, set_verify_depth, get_verify_mode, and get_verify_depth to the Connection object.

While Connection objects inherit these values from the Context used to create it, they can be changed afterward. This is especially useful when using SNI to require different verification flags depending on the server name (ie. require client certs in some SNIs but not on others).

Fixes #255

@pablosole pablosole force-pushed the add_verify_to_connection branch from e3a9f1a to 91c7159 Compare June 5, 2019 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add set_verify method on Connection
1 participant