aboutsummaryrefslogtreecommitdiffstats
path: root/defs
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2021-12-12 01:25:20 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-12-20 23:42:01 +0900
commitdc3f37c6cc64139848c074571707399a225f2efe (patch)
tree8963b19c3eba86d3ef181ae4b801c3545d5b874e /defs
parentdf6589e418adb2a4018e40d53dab2fd5556ed41e (diff)
downloadruby-dc3f37c6cc64139848c074571707399a225f2efe.tar.gz
[ruby/openssl] 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. https://github.com/ruby/openssl/commit/46ca47060c
Diffstat (limited to 'defs')
0 files changed, 0 insertions, 0 deletions