Closed babelouest closed 1 year ago
The patch fixes oauth2_http_call in src/http.c for newer version of curl, where the options CURLOPT_REDIR_PROTOCOLS and CURLOPT_PROTOCOLS need to be replaced with CURLOPT_REDIR_PROTOCOLS_STR and CURLOPT_PROTOCOLS_STR
oauth2_http_call
src/http.c
CURLOPT_REDIR_PROTOCOLS
CURLOPT_PROTOCOLS
CURLOPT_REDIR_PROTOCOLS_STR
CURLOPT_PROTOCOLS_STR
See https://curl.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html#AVAILABILITY
The patch fixes
oauth2_http_call
insrc/http.c
for newer version of curl, where the optionsCURLOPT_REDIR_PROTOCOLS
andCURLOPT_PROTOCOLS
need to be replaced withCURLOPT_REDIR_PROTOCOLS_STR
andCURLOPT_PROTOCOLS_STR
See https://curl.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html#AVAILABILITY