From: k@... Date: 2017-03-19T01:37:14+00:00 Subject: [ruby-core:80224] [Ruby trunk Bug#13328][Third Party's Issue] Implement OpenSSL::SSL::SSLContext#initialize_copy Issue #13328 has been updated by rhenium (Kazuki Yamaguchi). Status changed from Open to Third Party's Issue Please open an issue at https://github.com/ruby/openssl when reporting bugs of ext/openssl. This is however not a bug. Cloning OpenSSL::SSL::SSLContext have never worked properly and left the copy in an inconsistent state in previous versions of Ruby. ---------------------------------------- Bug #13328: Implement OpenSSL::SSL::SSLContext#initialize_copy https://bugs.ruby-lang.org/issues/13328#change-63661 * Author: kylekyle (Kyle King) * Status: Third Party's Issue * Priority: Normal * Assignee: * Target version: * ruby -v: 2.4 * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- 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 # from (pry):2:in `initialize_dup' ``` -- https://bugs.ruby-lang.org/ Unsubscribe: