diff options
Diffstat (limited to 'ext/openssl/lib')
-rw-r--r-- | ext/openssl/lib/openssl/x509.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/lib/openssl/x509.rb b/ext/openssl/lib/openssl/x509.rb index b8cc5bd4ed..40b1a6dd15 100644 --- a/ext/openssl/lib/openssl/x509.rb +++ b/ext/openssl/lib/openssl/x509.rb @@ -64,9 +64,9 @@ module OpenSSL end # Extension class Name - def self.parse(str) + def self.parse(str, type=ASN1::UTF8STRING) ary = str.scan(/\s*([^\/,]+)\s*/).collect{|i| i[0].split("=") } - self.new(ary) + self.new(ary, type) end end # Name |