diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2021-04-12 18:32:40 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-12-20 23:42:01 +0900 |
commit | c1a36ebfda8ba570173e2844bc584786852e6190 (patch) | |
tree | b5f1283466a59a24c3865bc683b10f5362b790fb /file.c | |
parent | 02a58fbfd1406acde30bb7ca4d019f2bd09bfacd (diff) | |
download | ruby-c1a36ebfda8ba570173e2844bc584786852e6190.tar.gz |
[ruby/openssl] pkey: allocate EVP_PKEY on #initialize
Allocate an EVP_PKEY when the content is ready: when #initialize
or #initialize_copy is called, rather than when a T_DATA is allocated.
This is more natural because the lower level API has been deprecated
and an EVP_PKEY is becoming the minimum unit of handling keys.
https://github.com/ruby/openssl/commit/74f6c61756
Diffstat (limited to 'file.c')
0 files changed, 0 insertions, 0 deletions