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

Enable ssl in curl #2453

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Enable ssl in curl #2453

merged 1 commit into from
Nov 28, 2024

Conversation

JonasVautherin
Copy link
Collaborator

@JonasVautherin JonasVautherin commented Nov 28, 2024

This should resolve mavlink/MAVSDK-Java#192.

Note: when using openssl, it seems like curl needs dlopen: https://github.com/curl/curl/blame/a72b479decd555c9e9c2c50ded34e317123174f2/packages/vms/report_openssl_version.c#L54. We already add ${CMAKE_DL_LIBS} to the mavsdk_server and unit_tests_mavsdk_server targets but not integration_tests, system_tests_runner and unit_tests_runner. I think it makes sense to add it to libmavsdk as PUBLIC so that it gets propagated everywhere.

@JonasVautherin JonasVautherin force-pushed the curl-add-ssl branch 2 times, most recently from 8510033 to 73de4b1 Compare November 28, 2024 14:25
"-DCURL_USE_LIBSSH2=OFF"
"-DBUILD_CURL_EXE=OFF"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't see a need to disable that only for Android and iOS, and disabling it pushes the need for dlopen to the build step, which is convenient.

@JonasVautherin JonasVautherin force-pushed the curl-add-ssl branch 2 times, most recently from e753e90 to 5626712 Compare November 28, 2024 14:59
@JonasVautherin JonasVautherin marked this pull request as ready for review November 28, 2024 15:37
@JonasVautherin JonasVautherin force-pushed the curl-add-ssl branch 2 times, most recently from ceb7942 to 006ffd2 Compare November 28, 2024 16:09
Copy link

sonarcloud bot commented Nov 28, 2024

Copy link
Collaborator

@julianoes julianoes left a comment

Choose a reason for hiding this comment

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

Wow you're good!

@JonasVautherin JonasVautherin merged commit 68856f2 into main Nov 28, 2024
39 checks passed
@JonasVautherin JonasVautherin deleted the curl-add-ssl branch November 28, 2024 20:51
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.

v2.1.3 Gremsy Vio camera payload fails to download camera definition due to "unsupported protocol" error
2 participants