Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

warning: constant OpenSSL::SSL::SSLContext::METHODS is deprecated #7

Closed
@KINGSABRI

Description

@KINGSABRI

Hello guys,
I'm getting the following while using rpc.call

/var/lib/gems/2.5.0/gems/rex-2.0.12/lib/rex/socket/ssl_tcp.rb:82: warning: constant OpenSSL::SSL::SSLContext::METHODS is deprecated
  • Ruby version: 2.5.1

I think it should be replaced with

OpenSSL::SSL::SSLContext.methods.include? version

If it's too trivial, for a PR, plz reject my PR

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions