ronin-rb / ronin-support

A support library for Ronin. Like activesupport, but for hacking!
https://ronin-rb.dev
GNU Lesser General Public License v3.0
27 stars 10 forks source link

No longer use the deprecated `OpenSSL::SSL::SSLContext#ssl_version=` #498

Closed postmodern closed 7 months ago

postmodern commented 7 months ago

Instead of setting context.ssl_version =, use context.min_version = context.max_version = .... Also map deprecated :TLSv1* symbols to :TLS1* symbols for backwards compatibility.

https://docs.ruby-lang.org/en/3.0/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D

postmodern commented 7 months ago

Implemented in 864956d.