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

cURL / OpenSSL core api fixes #8384

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danoli3
Copy link
Member

@danoli3 danoli3 commented Mar 20, 2025

ofURLFileLoader

  • fix missing POST (broken by else statement)

cURL

  • minor update api of deprecated PUT changed to UPLOAD
C/C++: /home/runner/work/openFrameworks/openFrameworks/libs/openFrameworks/utils/ofURLFileLoader.cpp:341:32: 
warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations]
C/C++:   341 |                 curl_easy_setopt(curl.get(), CURLOPT_PUT, 0);
C/C++:       |                                              ^
C/C++: /home/runner/work/openFrameworks/openFrameworks/libs/openFrameworksCompiled/project/android/openframeworksAndroid/../../../../../libs/curl/include/curl/curl.h:1294:3: note:
 'CURLOPT_PUT' has been explicitly marked deprecated here
C/C++:  1294 |   CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54,
C/C++:       |   ^
C/C++: /home/runner/work/openFrameworks/openFrameworks/libs/openFrameworksCompiled/project/android/openframeworksAndroid/../../../../../libs/curl/include/curl/curl.h:1090:43: note: expanded from macro 'CURLOPTDEPRECATED'
C/C++:  1090 | #define CURLOPTDEPRECATED(na,t,nu,v,m) na CURL_DEPRECATED(v,m) = t + nu
C/C++:       |                                           ^

OpenSSL

  • Update createSSL cert from 1.1 style deprecated to 3 EVP_PKEY_CTX_new_from_name

@danoli3
Copy link
Member Author

danoli3 commented Mar 20, 2025

Chasing a thread / crash bug for these changes ^
image
Microsoft C++ exception: std::bad_function_call at memory location 0x000000AC985BEE40.

@danoli3 danoli3 marked this pull request as draft March 20, 2025 17:01
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.

1 participant