Project

General

Profile

« Previous | Next » 

Revision 61e426ae

Added by rhenium (Kazuki Yamaguchi) almost 4 years ago

[ruby/openssl] pkey: assume a pkey always has public key components on OpenSSL 3.0

OpenSSL 3.0's EVP_PKEY_get0() returns NULL for provider-backed pkeys.
This causes segfault because it was supposed to never return NULL
before.

We can't check the existence of public key components in this way on
OpenSSL 3.0. Let's just skip it for now.

https://github.com/ruby/openssl/commit/ccdb6f7bfa