[前][次][番号順一覧][スレッド一覧]

ruby-changes:36440

From: usa <ko1@a...>
Date: Fri, 21 Nov 2014 00:39:08 +0900 (JST)
Subject: [ruby-changes:36440] usa:r48521 (trunk): * ext/openssl/lib/openssl/x509.rb

usa	2014-11-21 00:39:03 +0900 (Fri, 21 Nov 2014)

  New Revision: 48521

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48521

  Log:
    * ext/openssl/lib/openssl/x509.rb
      (OpenSSL::X509::Name::RFC2253DN::StringChar): get rid of a false
      positive assertion in ripper's test.

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/lib/openssl/x509.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48520)
+++ ChangeLog	(revision 48521)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Nov 21 00:36:09 2014  NAKAMURA Usaku  <usa@r...>
+
+	* 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@r...>
 
 	* lib/net/imap.rb (Net::IMAP::ResponseParser::BEG_REGEXP): no need to
Index: ext/openssl/lib/openssl/x509.rb
===================================================================
--- ext/openssl/lib/openssl/x509.rb	(revision 48520)
+++ ext/openssl/lib/openssl/x509.rb	(revision 48521)
@@ -70,7 +70,7 @@ module OpenSSL https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/x509.rb#L70
         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 = /

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]