rubysl-openssl 2.9 → 2.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 13acecc541e3c578d87adc0933287a23cf2cde35
4
- data.tar.gz: 50cbbb8481c72db5eb8253c58bcb44a562fc9ebb
3
+ metadata.gz: 8170c92fac3dc7ed60bbd846bd9c6c9305b67f9e
4
+ data.tar.gz: 6dbb74381898065c6db26bbf1dd07f580da5011a
5
5
  SHA512:
6
- metadata.gz: e426ad35e4100cf8e9f08d3d5eff5d755b32553135cabd91ddcf5d8fba047bd3a1fbd3547a7712f8b43a3ea61dae452d3d423676bafbbb8da24e1090fa5bc1a5
7
- data.tar.gz: 46c0c561af85f5c8ba06b3a457be95e07fd5e4be8f5ce0091dd824bdba1c7c5e717cb0c95b8201b8d557776837d0f94a5424dc52aa875c2026c6b1cfa63c6b96
6
+ metadata.gz: ccae0e900ef78f9858ea6e5f080d4dcd1414c9063e1527f21a19b05d3aec1a2acd75e7d1647ec0e0cb2c83d1a380038fa72679dcb27050bbd37506b2e5f00fb8
7
+ data.tar.gz: 4b7aceae7fa70b44e876e00900c16b5dcde6d64e73242a43ad569847dbe03c5ca0dc395d4e854c5076d3811cd91b2fe9136232a1c730cf740826c3eb5b427cc0
@@ -163,6 +163,7 @@ module OpenSSL
163
163
  end
164
164
 
165
165
  def verify_certificate_identity(cert, hostname)
166
+ Rubinius.synchronize(SSL) do
166
167
  should_verify_common_name = true
167
168
  cert.extensions.each{|ext|
168
169
  next if ext.oid != "subjectAltName"
@@ -192,6 +193,7 @@ module OpenSSL
192
193
  }
193
194
  end
194
195
  return false
196
+ end
195
197
  end
196
198
  module_function :verify_certificate_identity
197
199
 
@@ -282,7 +284,9 @@ module OpenSSL
282
284
  @sync_close = false
283
285
  @hostname = nil
284
286
  @io.nonblock = true if @io.respond_to?(:nonblock=)
287
+ Rubinius.synchronize(SSL) do
285
288
  context.setup
289
+ end
286
290
  super()
287
291
  end
288
292
  end
@@ -1,5 +1,5 @@
1
1
  module RubySL
2
2
  module OpenSSL
3
- VERSION = "2.9"
3
+ VERSION = "2.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysl-openssl
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.9'
4
+ version: '2.10'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-31 00:00:00.000000000 Z
11
+ date: 2018-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler