aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/extconf.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2020-06-30 15:46:14 +0900
committerKazuki Yamaguchi <k@rhe.jp>2020-08-21 19:06:48 +0900
commitdf4bec841f69e5885c41e03a20092129a88a717e (patch)
tree781080828050edd8f86071ce615a09c78eaff1ee /ext/openssl/extconf.rb
parente0634311ff3bfbe69d253afd0e46746d5de64059 (diff)
downloadruby-openssl-ky/pkey-remove-ec-group-from-raw-method.tar.gz
pkey/ec: remove OpenSSL::PKey::EC::Group.new(ec_method) formky/pkey-remove-ec-group-from-raw-method
The form created an empty EC_GROUP object with the specified EC_METHOD. However, the feature was unfinished and not useful in any way because OpenSSL::PKey::EC::Group did not implement wrappers for necessary functions to set actual parameters for the group, namely EC_GROUP_set_curve() family. EC_GROUP object creation with EC_METHOD explicitly specified is deprecated in OpenSSL 3.0, as it was apparently not intended for use outside OpenSSL. It is still possible to create EC_GROUP, but without EC_METHOD explicitly specified - OpenSSL chooses the appropriate EC_METHOD for the curve type. The OpenSSL::PKey::EC::Group.new(<:GFp|:GF2m>, p, a, b) form will continue to work.
Diffstat (limited to 'ext/openssl/extconf.rb')
0 files changed, 0 insertions, 0 deletions