diff options
| author | Kazuki Yamaguchi <k@rhe.jp> | 2025-11-22 22:11:31 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-11-22 14:25:15 +0000 |
| commit | f9efa0cc0468692739770e754c12edf46cdf7c8e (patch) | |
| tree | fad9c159a383fa331e6040c22530f6413ff4a3c7 /doc/ruby | |
| parent | c7a84ae0bb8c6dab3463076d7e5ca9b6f89880f4 (diff) | |
[ruby/openssl] pkey/ec: fix OpenSSL::PKey::EC::Group#curve_name for unknown curves
EC_GROUP_get_curve_name() returns NID_undef when OpenSSL does not
recognize the curve and there is no associated OID.
Handle this case explicitly and return nil instead of the string
"UNDEF", which should not be exposed outside the extension.
https://github.com/ruby/openssl/commit/2c16821c07
Diffstat (limited to 'doc/ruby')
0 files changed, 0 insertions, 0 deletions
