diff options
| author | Stan Hu <stanhu@gmail.com> | 2025-10-21 14:10:40 -0700 |
|---|---|---|
| committer | Kazuki Yamaguchi <k@rhe.jp> | 2025-10-27 15:33:17 +0900 |
| commit | b839deec4914b096988d44016c37737bc7d1254f (patch) | |
| tree | bb517cf54a35a0f60522d77fd8a38d4ec607d8a8 /thread_pthread.c | |
| parent | db59619ce5f7edd2ea0fdf60f29cfed466628987 (diff) | |
[ruby/openssl] Check NULL values for deprecated EVP_PKEY_get0() functions
In OpenSSL <= 1.1.1, EVP_PKEY_get0() always returned a valid object, so
a NULL check was not necessary. In OpenSSL 3.0, the function can return
NULL (https://docs.openssl.org/3.0/man7/migration_guide/#deprecated-function-mappings),
so guard against this issue.
https://github.com/ruby/openssl/commit/dc90b9c51e
Diffstat (limited to 'thread_pthread.c')
0 files changed, 0 insertions, 0 deletions
