summaryrefslogtreecommitdiff
path: root/include/ruby/internal/iterator.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2025-11-22 22:11:31 +0900
committergit <svn-admin@ruby-lang.org>2025-11-22 14:25:15 +0000
commitf9efa0cc0468692739770e754c12edf46cdf7c8e (patch)
treefad9c159a383fa331e6040c22530f6413ff4a3c7 /include/ruby/internal/iterator.h
parentc7a84ae0bb8c6dab3463076d7e5ca9b6f89880f4 (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 'include/ruby/internal/iterator.h')
0 files changed, 0 insertions, 0 deletions