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 +4 -4
- data/ext/openssl/extconf.rb +6 -0
- data/ext/openssl/ossl_asn1.c +1 -1
- data/ext/openssl/ossl_version.h +1 -1
- data/ext/openssl/ossl_x509name.c +1 -1
- data/lib/openssl/buffering.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b5c2c4a14f27e6858cebe68afb2dce427cdd09b
|
4
|
+
data.tar.gz: c48f466785193b49bad39a5202baff609f5281ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26e2de68a408824800206e610c0471f3f81d714d322b31cc0bf099792ca3963faff5a792286cf20919ac7fd11ed571194a91d38159a43d1b604ef0c5d7f28654
|
7
|
+
data.tar.gz: d962aca16f966b6679ab396b29998108193d98a6f0dad770c4c2b22b91fc24aee1bc75a698bcdc13e8e1aa5f2854b391e94f4a5fad6e97178aad24710a0d1632
|
data/ext/openssl/extconf.rb
CHANGED
@@ -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")}
|
data/ext/openssl/ossl_asn1.c
CHANGED
@@ -1291,7 +1291,7 @@ ossl_asn1cons_to_der(VALUE self)
|
|
1291
1291
|
static VALUE
|
1292
1292
|
ossl_asn1cons_each(VALUE self)
|
1293
1293
|
{
|
1294
|
-
|
1294
|
+
rb_block_call(ossl_asn1_get_value(self), id_each, 0, 0, 0, 0);
|
1295
1295
|
|
1296
1296
|
return self;
|
1297
1297
|
}
|
data/ext/openssl/ossl_version.h
CHANGED
data/ext/openssl/ossl_x509name.c
CHANGED
@@ -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
|
/*
|
data/lib/openssl/buffering.rb
CHANGED
@@ -189,7 +189,7 @@ module OpenSSL::Buffering
|
|
189
189
|
end
|
190
190
|
|
191
191
|
##
|
192
|
-
# Reads the next "line
|
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 +
|
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.
|
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:
|
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.
|
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.
|