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

Commits on Jul 3, 2024

  1. x509attr: avoid using OpenSSL::ASN1 internals in #value=

    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 committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    35a1574 View commit details
    Browse the repository at this point in the history
  2. asn1: make ossl_asn1_get_asn1type() private

    The function is not used anywhere outside of ossl_asn1.c.
    rhenium committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    5392b79 View commit details
    Browse the repository at this point in the history