openssl 3.3.1 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a3b0d69bc08bb79d515fb7da072e3b1d577733e96ae8345c15d3075b158fcdd
4
- data.tar.gz: a356d7aa88c016eedea776b2961c3715c6957d6d5dcd6fbd9f88b4f5c45c4a0f
3
+ metadata.gz: '0039c89cb0a5852520e895ae303d8b4a9f874a12c6b55684e002cc9d04278df9'
4
+ data.tar.gz: 4634f9bf38e64d130d84f812e18eaa0ea918a4eb9fcdb4349deca9aff64030f1
5
5
  SHA512:
6
- metadata.gz: c39f8504d95719f6eead6ad79f904215cf006062be30c0c11f8b7d56e0fe470a74b9bb90daa989ced9c3c0108ec6b1b44e1d800a9a30ed6582ed65ff144909b9
7
- data.tar.gz: 3dd3c824bd9927df9c1e7b1c213c78262e013a2c3357c5c8067a0882d231f6b1040003ac087465e53f173411b6ca709d398282a05551019b5ff5739951c1198d
6
+ metadata.gz: 29c064c6c868bc9ec703fe7f29772b951a4712ffcfe6ab17600401650103ef68022c0fcc84d6b0a7b1b1671e12bd2842666e6f9a8a2692aa74fb24898239d374
7
+ data.tar.gz: 95b6388a7a230616e5e248b81f917aef07b1827909c6e34465567dc56406223977ec9ddec1a590cfc05ae61b3658c2d681a76843d6b8130cd451401951476df5
data/History.md CHANGED
@@ -1,3 +1,9 @@
1
+ Version 3.3.2
2
+ =============
3
+
4
+ Merged changes in 3.1.3 and 3.2.3.
5
+
6
+
1
7
  Version 3.3.1
2
8
  =============
3
9
 
@@ -80,6 +86,12 @@ And various non-user-visible changes and bug fixes. Please see the commit
80
86
  history for more details.
81
87
 
82
88
 
89
+ Version 3.2.3
90
+ =============
91
+
92
+ Merged changes in 3.1.3.
93
+
94
+
83
95
  Version 3.2.2
84
96
  =============
85
97
 
@@ -132,6 +144,16 @@ Notable changes
132
144
  [[GitHub #141]](https://github.com/ruby/openssl/pull/141)
133
145
 
134
146
 
147
+ Version 3.1.3
148
+ =============
149
+
150
+ Bug fixes
151
+ ---------
152
+
153
+ * Fix missing NULL check for `EVP_PKEY_get0()` functions with OpenSSL 3.x.
154
+ [[GitHub #957]](https://github.com/ruby/openssl/pull/957)
155
+
156
+
135
157
  Version 3.1.2
136
158
  =============
137
159
 
@@ -21,6 +21,8 @@
21
21
  EVP_PKEY *_pkey; \
22
22
  GetPKeyDH((obj), _pkey); \
23
23
  (dh) = EVP_PKEY_get0_DH(_pkey); \
24
+ if ((dh) == NULL) \
25
+ ossl_raise(eDHError, "failed to get DH from EVP_PKEY"); \
24
26
  } while (0)
25
27
 
26
28
  /*
@@ -21,6 +21,8 @@
21
21
  EVP_PKEY *_pkey; \
22
22
  GetPKeyDSA((obj), _pkey); \
23
23
  (dsa) = EVP_PKEY_get0_DSA(_pkey); \
24
+ if ((dsa) == NULL) \
25
+ ossl_raise(eDSAError, "failed to get DSA from EVP_PKEY"); \
24
26
  } while (0)
25
27
 
26
28
  static inline int
@@ -22,6 +22,8 @@ static const rb_data_type_t ossl_ec_point_type;
22
22
  EVP_PKEY *_pkey; \
23
23
  GetPKeyEC(obj, _pkey); \
24
24
  (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
25
+ if ((key) == NULL) \
26
+ ossl_raise(eECError, "failed to get EC_KEY from EVP_PKEY"); \
25
27
  } while (0)
26
28
 
27
29
  #define GetECGroup(obj, group) do { \
@@ -21,6 +21,8 @@
21
21
  EVP_PKEY *_pkey; \
22
22
  GetPKeyRSA((obj), _pkey); \
23
23
  (rsa) = EVP_PKEY_get0_RSA(_pkey); \
24
+ if ((rsa) == NULL) \
25
+ ossl_raise(eRSAError, "failed to get RSA from EVP_PKEY"); \
24
26
  } while (0)
25
27
 
26
28
  static inline int
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenSSL
4
- VERSION = "3.3.1"
4
+ VERSION = "3.3.2"
5
5
  end
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: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bosslet