]> granicus.if.org Git - curl/commitdiff
os400: take care of CURLOPT_SASL_AUTHZID in curl_easy_setopt_ccsid().
authorPatrick Monnerat <patrick@monnerat.net>
Thu, 23 May 2019 11:24:53 +0000 (13:24 +0200)
committerPatrick Monnerat <patrick@monnerat.net>
Thu, 23 May 2019 11:24:53 +0000 (13:24 +0200)
packages/OS400/README.OS400
packages/OS400/ccsidcurl.c

index c653ceceb28a64792f39aad74280171d53b5f7d4..95a5584113cd151452c28b8d349503676c1b2f03 100644 (file)
@@ -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
index fd3b5f0730fd583fed7dcd1f685183217c2845ce..85fb4693d8b373873c81d75d99fd5bb20b39a8c0 100644 (file)
@@ -1139,12 +1139,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");
@@ -1211,6 +1206,7 @@ curl_easy_setopt_ccsid(CURL *curl, CURLoption tag, ...)
   case CURLOPT_RTSP_SESSION_ID:
   case CURLOPT_RTSP_STREAM_URI:
   case CURLOPT_RTSP_TRANSPORT:
+  case CURLOPT_SASL_AUTHZID:
   case CURLOPT_SERVICE_NAME:
   case CURLOPT_SOCKS5_GSSAPI_SERVICE:
   case CURLOPT_SSH_HOST_PUBLIC_KEY_MD5: