Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Add Ctx.SetMinProtoVersion and Ctx.SetMaxProtoVersion wrappers #27

Merged

Conversation

oleg-jukovec
Copy link

  • Ctx.SetMinProtoVersion wraps SSL_CTX_set_min_proto_version
  • Ctx.SetMaxProtoVersion wraps SSL_CTX_set_max_proto_version

- Ctx.SetMinProtoVersion wraps SSL_CTX_set_min_proto_version
- Ctx.SetMaxProtoVersion wraps SSL_CTX_set_max_proto_version
@BigLep
Copy link

BigLep commented May 27, 2022

@oleg-jukovec : what's your usecase for this?

@oleg-jukovec
Copy link
Author

I use a third-party OpenSSL engine. The engine works fine only with TLSv1.2. Using the functions I can make sure that TSLv1.2 is supported.

@MarcoPolo
Copy link

Thank you!

@MarcoPolo MarcoPolo merged commit 6a218fb into libp2p:master Jun 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants