Kazuki Yamaguchi b681739295 [ruby/openssl] pkey/ec: avoid calling SYM2ID() on user-supplied objects
Compare by the VALUE value instead of ID. Calling SYM2ID() on a dynamic
symbol will pin a permanent ID.

These methods only accept known static symbols, and passing anything
else is an incorrect usage that results in an exception. Nonetheless,
avoiding SYM2ID() seems to be a good idea since there is no runtime
cost.

https://github.com/ruby/openssl/commit/0d66296cdc
2025-07-05 14:03:32 +00:00
..
2025-05-11 23:32:50 +09:00
2024-12-25 13:16:14 +09:00
2025-05-11 23:32:50 +09:00
2025-05-11 23:32:50 +09:00
2024-12-13 00:33:58 +00:00