Actions
Bug #13328
closedImplement OpenSSL::SSL::SSLContext#initialize_copy
Description
Starting in Ruby 2.4, an OpenSSL::SSL::SSLContext
cannot be dup'ed or cloned:
[1] pry(main)> require 'openssl'
=> true
[2] pry(main)> OpenSSL::SSL::SSLContext.new.dup
NoMethodError: undefined method `initialize_copy' for #<OpenSSL::SSL::SSLContext:0x007f914b944d08>
from (pry):2:in `initialize_dup'
Actions
Like0
Like0