Skip to content

Commit

Permalink
1.6.0: use libcurl version macro that works on older platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Dec 6, 2023
1 parent c11da6c commit 8869c9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
12/06/2023
- add support for the OAuth 2.0 Client Credentials grant type
- use libcurl version macro that works on older platforms
- release 1.6.0

11/08/2023
Expand Down
2 changes: 1 addition & 1 deletion src/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ bool oauth2_http_call(oauth2_log_t *log, const char *url, const char *data,
curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&buf);

#ifndef LIBCURL_NO_CURLPROTO
#if CURL_AT_LEAST_VERSION(7, 85, 0)
#if LIBCURL_VERSION_NUM >= 0x075500
curl_easy_setopt(curl, CURLOPT_REDIR_PROTOCOLS_STR, "http,https");
curl_easy_setopt(curl, CURLOPT_PROTOCOLS_STR, "http,https");
#else
Expand Down

0 comments on commit 8869c9a

Please sign in to comment.