Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > ebaf3abf13313f990407b01ccd88ef6c > files > 14

ruby-2.2.10-16.1.mga6.src.rpm

--- ruby-2.2.5/test/openssl/test_ssl.rb~	2016-10-10 23:29:47.898876066 +0100
+++ ruby-2.2.5/test/openssl/test_ssl.rb	2016-10-10 23:49:44.981438082 +0100
@@ -850,7 +850,7 @@
   end
 
   def test_npn_protocol_selection_cancel
-    ctx_proc = Proc.new { |ctx| ctx.npn_protocols = ["http/1.1"] }
+    ctx_proc = Proc.new { |ctx| ctx.npn_protocols = ["http/1.1", "spdy/2"] }
     start_server_version(:SSLv23, ctx_proc) { |server, port|
       ctx = OpenSSL::SSL::SSLContext.new
       ctx.npn_select_cb = -> (protocols) { raise RuntimeError.new }