diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-07-19 15:37:16 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-12-21 16:58:43 +0900 |
commit | 02c4176ed41907623211d8ca9e41fcacac3d0811 (patch) | |
tree | 1765078a38b137d75099960c78a402a7719931c1 /openssl.gemspec | |
parent | 528fae6f9e5f46dbf7e5871fbac1bb2e78c674fc (diff) | |
download | ruby-openssl-02c4176ed41907623211d8ca9e41fcacac3d0811.tar.gz |
pkey: allow instantiating OpenSSL::PKey::PKey with unsupported key type
Fix 'unsupported key type' error if OpenSSL::SSL::SSLSocket#tmp_key is
called when X25519 is used for key exchange.
EVP_PKEY may have a key type that we don't have have a dedicated
subclass. Let's allow instantiating OpenSSL::PKey::PKey with such an
EVP_PKEY, although the resulting instance is not so useful because it
can't be exported at the moment.
Diffstat (limited to 'openssl.gemspec')
0 files changed, 0 insertions, 0 deletions