aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_asn1.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2021-09-21 18:29:59 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-12-20 18:40:50 +0900
commit6848d2d969d90e6a400d89848ecec21076b87888 (patch)
tree000111f3573d2d0321be9bb5691f782859870b7f /ext/openssl/ossl_asn1.c
parent5e2e66cce870ea86001dbb0eaa3092badfd37994 (diff)
downloadruby-openssl-ky/pkey-deprecate-modify.tar.gz
pkey: deprecate PKey#set_* methodsky/pkey-deprecate-modify
OpenSSL 3.0 made EVP_PKEY immutable. This means we can only have a const pointer of the low level struct and the following methods can no longer be provided when linked against OpenSSL 3.0: - OpenSSL::PKey::RSA#set_key - OpenSSL::PKey::RSA#set_factors - OpenSSL::PKey::RSA#set_crt_params - OpenSSL::PKey::DSA#set_pqg - OpenSSL::PKey::DSA#set_key - OpenSSL::PKey::DH#set_pqg - OpenSSL::PKey::DH#set_key - OpenSSL::PKey::EC#group= - OpenSSL::PKey::EC#private_key= - OpenSSL::PKey::EC#public_key= There is no direct replacement for this functionality at the moment. I plan to introduce a wrapper around EVP_PKEY_fromdata(), which takes all key components at once to construct an EVP_PKEY.
Diffstat (limited to 'ext/openssl/ossl_asn1.c')
0 files changed, 0 insertions, 0 deletions