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: no access to CA bundles on iOS #186

Merged
merged 2 commits into from
Oct 19, 2023
Merged

Conversation

ekoby
Copy link
Member

@ekoby ekoby commented Oct 18, 2023

fallback on Apple security framework for CA validation

fallback on Apple security framework for CA validation
@ekoby ekoby requested a review from a team as a code owner October 18, 2023 19:40
CFStringGetCString(error, err, 128, kCFStringEncodingASCII);
UM_LOG(WARN, "failed to create Trust object: %s", err);
}
CFRelease(certs);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

releases all the data for each cert appended?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a few more CFRelease calls and passed proper callbacks to CFArray

@ekoby ekoby force-pushed the use-apple-security-framework branch from 5ae10c0 to 09170aa Compare October 19, 2023 01:48
@ekoby ekoby merged commit 6964157 into main Oct 19, 2023
9 checks passed
@ekoby ekoby deleted the use-apple-security-framework branch October 19, 2023 01:57
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.

2 participants