Project

General

Profile

« Previous | Next » 

Revision 498c8e8f

Added by rhenium (Kazuki Yamaguchi) over 4 years ago

[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