diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/openssl/lib/openssl/x509.rb | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Fri Nov 21 00:36:09 2014 NAKAMURA Usaku <usa@ruby-lang.org> + + * ext/openssl/lib/openssl/x509.rb + (OpenSSL::X509::Name::RFC2253DN::StringChar): get rid of a false + positive assertion in ripper's test. + Fri Nov 21 00:29:51 2014 NAKAMURA Usaku <usa@ruby-lang.org> * lib/net/imap.rb (Net::IMAP::ResponseParser::BEG_REGEXP): no need to diff --git a/ext/openssl/lib/openssl/x509.rb b/ext/openssl/lib/openssl/x509.rb index 10a088944b..38b65c71cf 100644 --- a/ext/openssl/lib/openssl/x509.rb +++ b/ext/openssl/lib/openssl/x509.rb @@ -70,7 +70,7 @@ module OpenSSL HexPair = /#{HexChar}#{HexChar}/ HexString = /#{HexPair}+/ Pair = /\\(?:[#{Special}]|\\|"|#{HexPair})/ - StringChar = /[^#{Special}\\"]/ + StringChar = /[^\\"#{Special}]/ QuoteChar = /[^\\"]/ AttributeType = /[a-zA-Z][0-9a-zA-Z]*|[0-9]+(?:\.[0-9]+)*/ AttributeValue = / |