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

Fix ABI problem when marshalling X509VerifyStatusCode #52789

Merged
merged 1 commit into from
May 18, 2021
Merged

Fix ABI problem when marshalling X509VerifyStatusCode #52789

merged 1 commit into from
May 18, 2021

Commits on May 14, 2021

  1. Fix ABI problem when marshalling X509VerifyStatusCode

    The X509VerifyStatusCode type is defined as an enum in C code, but as
    a struct (with a single member) in C# code.  This means that marshalling
    this type only works correctly on platforms where the ABI treats these
    two types as equivalent.  This fails e.g. on Linux on s390x.
    
    Fixed by changing all native functions that take X509VerifyStatusCode
    as argument or return type to use a plain "int" instead.
    uweigand committed May 14, 2021
    Configuration menu
    Copy the full SHA
    43a8b95 View commit details
    Browse the repository at this point in the history