1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-03 10:51:49 -05:00

setopt: fix incorrect comments

Closes #7157
This commit is contained in:
Laurent Dufresne 2021-05-31 20:55:14 +02:00 committed by Daniel Stenberg
parent 05e0453050
commit 8cc1fee5b9
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -1689,7 +1689,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
break; break;
case CURLOPT_SSLCERT_BLOB: case CURLOPT_SSLCERT_BLOB:
/* /*
* Blob that holds file name of the SSL certificate to use * Blob that holds file content of the SSL certificate to use
*/ */
result = Curl_setblobopt(&data->set.blobs[BLOB_CERT], result = Curl_setblobopt(&data->set.blobs[BLOB_CERT],
va_arg(param, struct curl_blob *)); va_arg(param, struct curl_blob *));
@ -1704,7 +1704,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
break; break;
case CURLOPT_PROXY_SSLCERT_BLOB: case CURLOPT_PROXY_SSLCERT_BLOB:
/* /*
* Blob that holds file name of the SSL certificate to use for proxy * Blob that holds file content of the SSL certificate to use for proxy
*/ */
result = Curl_setblobopt(&data->set.blobs[BLOB_CERT_PROXY], result = Curl_setblobopt(&data->set.blobs[BLOB_CERT_PROXY],
va_arg(param, struct curl_blob *)); va_arg(param, struct curl_blob *));
@ -1735,7 +1735,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
break; break;
case CURLOPT_SSLKEY_BLOB: case CURLOPT_SSLKEY_BLOB:
/* /*
* Blob that holds file name of the SSL key to use * Blob that holds file content of the SSL key to use
*/ */
result = Curl_setblobopt(&data->set.blobs[BLOB_KEY], result = Curl_setblobopt(&data->set.blobs[BLOB_KEY],
va_arg(param, struct curl_blob *)); va_arg(param, struct curl_blob *));
@ -1750,7 +1750,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
break; break;
case CURLOPT_PROXY_SSLKEY_BLOB: case CURLOPT_PROXY_SSLKEY_BLOB:
/* /*
* Blob that holds file name of the SSL key to use for proxy * Blob that holds file content of the SSL key to use for proxy
*/ */
result = Curl_setblobopt(&data->set.blobs[BLOB_KEY_PROXY], result = Curl_setblobopt(&data->set.blobs[BLOB_KEY_PROXY],
va_arg(param, struct curl_blob *)); va_arg(param, struct curl_blob *));