processone / fast_tls

TLS / SSL OpenSSL-based native driver for Erlang / Elixir
https://www.ejabberd.im
Other
83 stars 37 forks source link

Export functions for setting supported protocol versions #40

Open dos1 opened 5 years ago

dos1 commented 5 years ago

Since OpenSSL 1.1.0, the proper way to configure supported protocol versions is via setter functions - use of SSL_CTX_set_options to disable particular protocols is now discouraged. The new API is also necessary for applications that for some reason need to override protocols being disabled in global OpenSSL configuration.

https://www.openssl.org/docs/man1.1.0/man3/SSL_CTX_set_min_proto_version.html