Parses a given string as a blob that contains configuration for OpenSSL.
If the source of the IO is a file, then consider
using #parse_config.
# File ext/openssl/lib/openssl/config.rb, line 37
def parse(string)
c = new()
parse_config(StringIO.new(string)).each do |section, hash|
c[section] = hash
end
c
end