openssl 2.1.0 → 2.1.1

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
  SHA256:
3
- metadata.gz: 0aff67f2204b80c3025d586532781b964e53dbc5e09007ea2d565af06a058ef9
4
- data.tar.gz: 2893f6b8e1a1d331ec37834e283aaab4ed67b4700a45937abe4820d01ef3b7ca
3
+ metadata.gz: e17353c3f443f1f4ba2afd65319630911e93cd4204b71e0a50a0640ab50ee714
4
+ data.tar.gz: 8a7b4d82c64a0a80198624fa96af48c03163205ec84331e9618b26ff764f6c4c
5
5
  SHA512:
6
- metadata.gz: f96194c09bd09d7a344b4580689c0fb1da891954c3dedfaaf1c15aa0178b67df0c07a8cb7c18279a3567f66011ab5a848173dd2967e627f5a26ce27a6d524c13
7
- data.tar.gz: 270a163d72b3d3e63233f148ee1d642d8cef55f30475d405130654a595f072c71a692c1f164f44a4bfadda29d944c2d5fc1ff17811aff8dad1bb7e19299a4803
6
+ metadata.gz: e7d48ecc23c6dabc5eb29ee78b605096bfed6d62e83f66d2cbb67316afdb68dafe5c1b9c8c0ced0fba6478d671fda75969e35d50b22051458ca237b470973a9c
7
+ data.tar.gz: c349830b16d8a87f1563b5f25f6451889e323c7a9b7666e9769f5c412c3f412728586adb4b4cb1365e34c54cb0d931467388c8f0b37f140dbc825459af20bb64
data/History.md CHANGED
@@ -55,6 +55,20 @@ Notable changes
55
55
  [[GitHub #177]](https://github.com/ruby/openssl/pull/177)
56
56
 
57
57
 
58
+ Version 2.0.8
59
+ =============
60
+
61
+ Bug fixes
62
+ ---------
63
+
64
+ * OpenSSL::Cipher#pkcs5_keyivgen raises an error when a negative iteration
65
+ count is given.
66
+ [[GitHub #184]](https://github.com/ruby/openssl/pull/184)
67
+ * Fixed build with LibreSSL 2.7.
68
+ [[GitHub #192]](https://github.com/ruby/openssl/issues/192)
69
+ [[GitHub #193]](https://github.com/ruby/openssl/pull/193)
70
+
71
+
58
72
  Version 2.0.7
59
73
  =============
60
74
 
@@ -122,8 +122,11 @@ OpenSSL.check_func_or_macro("SSL_get_server_tmp_key", "openssl/ssl.h")
122
122
  have_func("SSL_is_server")
123
123
 
124
124
  # added in 1.1.0
125
+ if !have_struct_member("SSL", "ctx", "openssl/ssl.h") ||
126
+ try_static_assert("LIBRESSL_VERSION_NUMBER >= 0x2070000fL", "openssl/opensslv.h")
127
+ $defs.push("-DHAVE_OPAQUE_OPENSSL")
128
+ end
125
129
  have_func("CRYPTO_lock") || $defs.push("-DHAVE_OPENSSL_110_THREADING_API")
126
- have_struct_member("SSL", "ctx", "openssl/ssl.h") || $defs.push("-DHAVE_OPAQUE_OPENSSL")
127
130
  have_func("BN_GENCB_new")
128
131
  have_func("BN_GENCB_free")
129
132
  have_func("BN_GENCB_get_arg")
@@ -317,6 +317,8 @@ ossl_cipher_pkcs5_keyivgen(int argc, VALUE *argv, VALUE self)
317
317
  salt = (unsigned char *)RSTRING_PTR(vsalt);
318
318
  }
319
319
  iter = NIL_P(viter) ? 2048 : NUM2INT(viter);
320
+ if (iter <= 0)
321
+ rb_raise(rb_eArgError, "iterations must be a positive integer");
320
322
  digest = NIL_P(vdigest) ? EVP_md5() : ossl_evp_get_digestbyname(vdigest);
321
323
  GetCipher(self, ctx);
322
324
  EVP_BytesToKey(EVP_CIPHER_CTX_cipher(ctx), digest, salt,
@@ -10,6 +10,6 @@
10
10
  #if !defined(_OSSL_VERSION_H_)
11
11
  #define _OSSL_VERSION_H_
12
12
 
13
- #define OSSL_VERSION "2.1.0"
13
+ #define OSSL_VERSION "2.1.1"
14
14
 
15
15
  #endif /* _OSSL_VERSION_H_ */
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.1.0
4
+ version: 2.1.1
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: 2017-12-14 00:00:00.000000000 Z
14
+ date: 2018-05-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rake
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  requirements: []
175
175
  rubyforge_project:
176
- rubygems_version: 2.7.3
176
+ rubygems_version: 2.7.6
177
177
  signing_key:
178
178
  specification_version: 4
179
179
  summary: OpenSSL provides SSL, TLS and general purpose cryptography.