jruby / jruby-openssl

JRuby's OpenSSL gem
http://www.jruby.org
Other
45 stars 79 forks source link

Making parse_config accepts a String like Ruby MRI #303

Open edipofederle opened 1 month ago

edipofederle commented 1 month ago

With Ruby MRI, we can do:

OpenSSL::Config.parse_config("") # also accepts a String

but not with JRuby:

NoMethodError: undefined method `lineno' for "":String
   Did you mean?  lines
edipofederle commented 1 month ago

@kares maybe we can take a quick look into this one? thanks

headius commented 2 weeks ago

Seems like this is ready to go?

kares commented 2 weeks ago

did look into this but did not figure out a path fwd. the logic isn't matching what MRI is doing (in native C)...

@headius but if it looks good to you, feel free to merge. I usually "Squash and merge" small change-sets (easier to dig out history) but if you have a different preference it's fine