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

Android use boringssl #2465

Merged
merged 6 commits into from
Dec 12, 2024
Merged

Android use boringssl #2465

merged 6 commits into from
Dec 12, 2024

Conversation

JonasVautherin
Copy link
Collaborator

This is the equivalent to #2460, but on v3.

In a previous PR, we have built curl with ssl support. But that is not enough for Android. First, curl does not auto-detect the system certificates on Android (at least not on all versions of Android). Second, OpenSSL3 cannot parse the Android system certificates (again at least on the versions of Android we tested) and it does not seem like this will change. BoringSSL, on the other hand, works with the Android system certificates.

I don't think that we should move MAVSDK entirely to BoringSSL for different reasons, one of them being that the default ssl library on many systems is OpenSSL. However, if OpenSSL3 does not really support Android, it seems like it makes sense to move to BoringSSL. Just for Android.

@JonasVautherin JonasVautherin marked this pull request as ready for review December 10, 2024 11:03
rayw-dronesense and others added 5 commits December 11, 2024 14:15
This is because openssl3 does not support the system certificates on
Android and does not seem to plan to support them.
@julianoes julianoes force-pushed the android-use-boringssl branch from 580d29e to a2472d4 Compare December 11, 2024 01:19
@julianoes julianoes merged commit 2fb036c into main Dec 12, 2024
39 checks passed
@julianoes julianoes deleted the android-use-boringssl branch December 12, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants