diff options
author | usa <usa@ruby-lang.org> | 2014-11-20 15:39:03 +0000 |
---|---|---|
committer | usa <usa@ruby-lang.org> | 2014-11-20 15:39:03 +0000 |
commit | d1532006fa21d1ccb0637cd26091bc2e7a9a8402 (patch) | |
tree | a920855b6b84116c5a6c231f63c1a40db537636d /lib | |
parent | 7ab5975d0742f3914b0bb3b8f35d6a6a5d516058 (diff) | |
download | ruby-openssl-history-d1532006fa21d1ccb0637cd26091bc2e7a9a8402.tar.gz |
* ext/openssl/lib/openssl/x509.rb
(OpenSSL::X509::Name::RFC2253DN::StringChar): get rid of a false
positive assertion in ripper's test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/openssl/x509.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/openssl/x509.rb b/lib/openssl/x509.rb index 10a0889..38b65c7 100644 --- a/lib/openssl/x509.rb +++ b/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 = / |