diff options
| author | Kazuki Yamaguchi <k@rhe.jp> | 2017-03-21 18:23:53 +0900 |
|---|---|---|
| committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-03-16 19:16:11 +0900 |
| commit | 498c8e8f17d5a06244515db163a714e87a4fce76 (patch) | |
| tree | 039e7a97ff803b8e5319ec403324b17010d8024d /spec/ruby/shared | |
| parent | 1f44640677cc92c105a5b624a021cefdfe645f9a (diff) | |
[ruby/openssl] pkey: assume generic PKeys contain private components
The EVP interface cannot tell whether if a pkey contains the private
components or not. Assume it does if it does not respond to #private?.
This fixes the NoMethodError on calling #sign on a generic PKey.
https://github.com/ruby/openssl/commit/f4c717bcb2
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4275
Diffstat (limited to 'spec/ruby/shared')
0 files changed, 0 insertions, 0 deletions
