by chomp · 12y ago · 0 comments
EDIT: I see it exposed in 0.9.8y. Anyone know of anything that builds against this specifically and uses it?
I think it's probably a piece of dead code at this point, but there might be some legacy stuff using it (with an old version of OpenSSL), which could lead to a vulnerability. Regardless, the function should probably be rewritten or removed.
EDIT: It looks like the latest version of Ruby (MRI) actually copied this function from OpenSSL so they could keep using it: https://github.com/ruby/ruby/blob/1aa54bebaf274bc08e72f9ad38...
EDIT: For anyone interested: https://github.com/ruby/ruby/pull/591
OpenSSL devs should probably remove this code.
I don't know of anything that builds against that version specifically but it is the version that is included in OS X as of 10.9 (and possibly 10.8).