This project is closed and read-only.
Actions
Backport #484
closedOpenSSL::Config does not freeze correctly
Backport #484:
OpenSSL::Config does not freeze correctly
Status:
Closed
Assignee:
Actions
This project is closed and read-only.
Added by premchai21 (Drake Wilson) about 18 years ago. Updated over 15 years ago.
=begin
Amazing. The preview showed me a completely wrong rendition. Let's try that again.
#!/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
=begin
=end
=begin
Applied in changeset r25069.
=end
=begin
Fixed also for Ruby 1.9 in r25017
=end
=begin
1.8.6 has this issue, meseems.
=end
=begin
This issue was solved with changeset r28002.
Drake, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end