Skip to content

Commit

Permalink
os400: take care of CURLOPT_SASL_AUTHZID in curl_easy_setopt_ccsid().
Browse files Browse the repository at this point in the history
Ref: #3653
Ref: #3790

NOTE: This commit was cherry-picked and is part of a series of commits
that added the authzid feature for upcoming 7.66.0. The series was
temporarily reverted in db8ec1f so that it would not ship in a 7.65.x
patch release.

Closes #4186
  • Loading branch information
monnerat authored and jay committed Aug 6, 2019
1 parent a44394e commit 825c571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/OS400/README.OS400
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ options:
CURLOPT_RTSP_SESSION_UID
CURLOPT_RTSP_STREAM_URI
CURLOPT_RTSP_TRANSPORT
CURLOPT_SASL_AUTHZID
CURLOPT_SERVICE_NAME
CURLOPT_SOCKS5_GSSAPI_SERVICE
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5
Expand Down
7 changes: 1 addition & 6 deletions packages/OS400/ccsidcurl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1141,12 +1141,7 @@ curl_easy_setopt_ccsid(CURL *curl, CURLoption tag, ...)
if(testwarn) {
testwarn = 0;

if(
#ifdef USE_ALTSVC
(int) STRING_LASTZEROTERMINATED != (int) STRING_ALTSVC + 1 ||
#else
(int) STRING_LASTZEROTERMINATED != (int) STRING_DOH + 1 ||
#endif
if((int) STRING_LASTZEROTERMINATED != (int) STRING_SASL_AUTHZID + 1 ||
(int) STRING_LAST != (int) STRING_COPYPOSTFIELDS + 1)
curl_mfprintf(stderr,
"*** WARNING: curl_easy_setopt_ccsid() should be reworked ***\n");
Expand Down

0 comments on commit 825c571

Please sign in to comment.