Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x509attr: avoid using OpenSSL::ASN1 internals in #value= #773

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

rhenium
Copy link
Member

@rhenium rhenium commented Jul 3, 2024

OpenSSL::ASN1 is being rewritten in Ruby. To make it easier, let's remove dependency to the instance variables and the internal-use function ossl_asn1_get_asn1type() outside OpenSSL::ASN1.

This also fixes the insufficient validation of the passed value with its tagging.

rhenium added 2 commits July 3, 2024 18:32
OpenSSL::ASN1 is being rewritten in Ruby. To make it easier, let's
remove dependency to the instance variables and the internal-use
function ossl_asn1_get_asn1type() outside OpenSSL::ASN1.

This also fixes the insufficient validation of the passed value with
its tagging.
The function is not used anywhere outside of ossl_asn1.c.
@rhenium rhenium merged commit 6100a37 into ruby:master Jul 24, 2024
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant