openssl 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of openssl might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5fc7434da3c037df14f771cf28ecfe09aca0913
4
- data.tar.gz: 15266849694e11a7c9b613daac1d72c05381ac2d
3
+ metadata.gz: 4b5c2c4a14f27e6858cebe68afb2dce427cdd09b
4
+ data.tar.gz: c48f466785193b49bad39a5202baff609f5281ae
5
5
  SHA512:
6
- metadata.gz: 4ba1268157ef5e5cf7972df04b0f189412aa3ed66e7d510f4cb2afd2e16010f02eaaf8cd4bfa63919995f0e9258c14004874be7857c81ffa37a33c639f56c57f
7
- data.tar.gz: ee568fed49aa95b9daf6c0dd58bf140f3af1dbc61f4041d5e3203568a5361f9817be92e0738fc64de1727d82a3be06d2806616b8a31279ce935e994bf23d11ab
6
+ metadata.gz: 26e2de68a408824800206e610c0471f3f81d714d322b31cc0bf099792ca3963faff5a792286cf20919ac7fd11ed571194a91d38159a43d1b604ef0c5d7f28654
7
+ data.tar.gz: d962aca16f966b6679ab396b29998108193d98a6f0dad770c4c2b22b91fc24aee1bc75a698bcdc13e8e1aa5f2854b391e94f4a5fad6e97178aad24710a0d1632
@@ -37,6 +37,12 @@ have_library("socket", "socket")
37
37
  Logging::message "=== Checking for required stuff... ===\n"
38
38
  result = pkg_config("openssl") && have_header("openssl/ssl.h")
39
39
  unless result
40
+ if $mswin || $mingw
41
+ # required for static OpenSSL libraries
42
+ have_library("gdi32") # OpenSSL <= 1.0.2 (for RAND_screen())
43
+ have_library("crypt32")
44
+ end
45
+
40
46
  result = have_header("openssl/ssl.h")
41
47
  result &&= %w[crypto libeay32].any? {|lib| have_library(lib, "CRYPTO_malloc")}
42
48
  result &&= %w[ssl ssleay32].any? {|lib| have_library(lib, "SSL_new")}
@@ -1291,7 +1291,7 @@ ossl_asn1cons_to_der(VALUE self)
1291
1291
  static VALUE
1292
1292
  ossl_asn1cons_each(VALUE self)
1293
1293
  {
1294
- rb_funcall(ossl_asn1_get_value(self), id_each, 0);
1294
+ rb_block_call(ossl_asn1_get_value(self), id_each, 0, 0, 0, 0);
1295
1295
 
1296
1296
  return self;
1297
1297
  }
@@ -10,6 +10,6 @@
10
10
  #if !defined(_OSSL_VERSION_H_)
11
11
  #define _OSSL_VERSION_H_
12
12
 
13
- #define OSSL_VERSION "2.0.2"
13
+ #define OSSL_VERSION "2.0.3"
14
14
 
15
15
  #endif /* _OSSL_VERSION_H_ */
@@ -375,7 +375,7 @@ ossl_x509name_eql(VALUE self, VALUE other)
375
375
  if (!rb_obj_is_kind_of(other, cX509Name))
376
376
  return Qfalse;
377
377
 
378
- return ossl_x509name_cmp0(self, other) ? Qtrue : Qfalse;
378
+ return ossl_x509name_cmp0(self, other) == 0 ? Qtrue : Qfalse;
379
379
  }
380
380
 
381
381
  /*
@@ -189,7 +189,7 @@ module OpenSSL::Buffering
189
189
  end
190
190
 
191
191
  ##
192
- # Reads the next "line+ from the stream. Lines are separated by +eol+. If
192
+ # Reads the next "line" from the stream. Lines are separated by +eol+. If
193
193
  # +limit+ is provided the result will not be longer than the given number of
194
194
  # bytes.
195
195
  #
@@ -344,7 +344,7 @@ module OpenSSL::Buffering
344
344
  end
345
345
 
346
346
  ##
347
- # Writes +str+ in the non-blocking manner.
347
+ # Writes +s+ in the non-blocking manner.
348
348
  #
349
349
  # If there is buffered data, it is flushed first. This may block.
350
350
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bosslet
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-12-22 00:00:00.000000000 Z
14
+ date: 2017-01-31 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rake
@@ -77,8 +77,8 @@ extensions:
77
77
  - ext/openssl/extconf.rb
78
78
  extra_rdoc_files:
79
79
  - CONTRIBUTING.md
80
- - README.md
81
80
  - History.md
81
+ - README.md
82
82
  files:
83
83
  - BSDL
84
84
  - CONTRIBUTING.md
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  requirements: []
173
173
  rubyforge_project:
174
- rubygems_version: 2.6.8
174
+ rubygems_version: 2.6.10
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: OpenSSL provides SSL, TLS and general purpose cryptography.