Skip to content

Make OpenSSL::Digest classes Ractor-safe#1053

Open
etiennebarrie wants to merge 1 commit into
ruby:masterfrom
etiennebarrie:make-openssl-digest-classes-ractor-safe
Open

Make OpenSSL::Digest classes Ractor-safe#1053
etiennebarrie wants to merge 1 commit into
ruby:masterfrom
etiennebarrie:make-openssl-digest-classes-ractor-safe

Conversation

@etiennebarrie
Copy link
Copy Markdown

Use class_eval with a string so the initialize instance method, and the digest and hexdigest class methods are not defined via define_method with a Proc (which is not Ractor-safe).

Use class_eval with a string so the initialize instance method, and the
digest and hexdigest class methods are not defined via define_method
with a Proc (which is not Ractor-safe).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant