Sha256: ed17b124dde388fcc29cb0f8a874bbba2de4fdd8d2b23b8fb020a3d777c58a5b
Contents?: true
Size: 702 Bytes
Versions: 1
Compression:
Stored size: 702 Bytes
Contents
*************** *** 79,86 **** end # Raise an error if no selected versions are supported - if ! OpenSSL::SSL::SSLContext::METHODS.include? version - raise ArgumentError, 'The system OpenSSL does not support the requested SSL/TLS version' end # Try intializing the socket with this SSL/TLS version --- 95,103 ---- end # Raise an error if no selected versions are supported + unless Rex::Socket::SslTcp.system_ssl_methods.include? version + raise ArgumentError, + "This version of Ruby does not support the requested SSL/TLS version #{params.ssl_version}" end # Try intializing the socket with this SSL/TLS version
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rex-2.0.13 | lib/rex/socket/ssl_tcp.rb.rej |