Project

General

Profile

This project is closed and read-only.

Actions

Backport #484

closed

OpenSSL::Config does not freeze correctly

Backport #484: OpenSSL::Config does not freeze correctly

Added by premchai21 (Drake Wilson) about 18 years ago. Updated over 15 years ago.


Description

=begin


 #!/usr/bin/ruby
 require 'openssl'
 c = OpenSSL::Config.new
 c['foo'] = [['key', 'value']]
 c.freeze
 c['foo'] = [['key', 'wrong']]
 p c['foo']['key']
 # Prints "wrong"
 

=end

Actions

Also available in: PDF Atom