diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2021-12-12 01:25:20 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-12-17 02:35:22 +0900 |
commit | 46ca47060ca8ef3419ec36c2326a81b442d9b43b (patch) | |
tree | 8351ea437e2d0941e09b3d10b29cd28075a29e4b /History.md | |
parent | 8193b7322ece2548eaf3d8acd1aec32bfc2cfdb9 (diff) | |
download | ruby-openssl-46ca47060ca8ef3419ec36c2326a81b442d9b43b.tar.gz |
pkey/dh: avoid using DH#set_key in DH#compute_key
DH#set_key will not work on OpenSSL 3.0 because keys are immutable.
For now, let's reimplement DH#compute_key by manually constructing a
DER-encoded SubjectPublicKeyInfo structure and feeding it to
OpenSSL::PKey.read.
Eventually, we should implement a new method around EVP_PKEY_fromdata()
and use it instead.
Diffstat (limited to 'History.md')
0 files changed, 0 insertions, 0 deletions