mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:03:31 +03:00
parent
006d2991bd
commit
7f40633422
8 changed files with 188 additions and 0 deletions
17
lib/setopt.c
17
lib/setopt.c
|
|
@ -2036,6 +2036,23 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
|||
result = Curl_setblobopt(&data->set.blobs[BLOB_SSL_ISSUERCERT_ORIG],
|
||||
va_arg(param, struct curl_blob *));
|
||||
break;
|
||||
#ifndef CURL_DISABLE_PROXY
|
||||
case CURLOPT_PROXY_ISSUERCERT:
|
||||
/*
|
||||
* Set Issuer certificate file
|
||||
* to check certificates issuer
|
||||
*/
|
||||
result = Curl_setstropt(&data->set.str[STRING_SSL_ISSUERCERT_PROXY],
|
||||
va_arg(param, char *));
|
||||
break;
|
||||
case CURLOPT_PROXY_ISSUERCERT_BLOB:
|
||||
/*
|
||||
* Blob that holds Issuer certificate to check certificates issuer
|
||||
*/
|
||||
result = Curl_setblobopt(&data->set.blobs[BLOB_SSL_ISSUERCERT_PROXY],
|
||||
va_arg(param, struct curl_blob *));
|
||||
break;
|
||||
#endif
|
||||
#ifndef CURL_DISABLE_TELNET
|
||||
case CURLOPT_TELNETOPTIONS:
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1589,6 +1589,7 @@ enum dupblob {
|
|||
BLOB_KEY_ORIG,
|
||||
BLOB_KEY_PROXY,
|
||||
BLOB_SSL_ISSUERCERT_ORIG,
|
||||
BLOB_SSL_ISSUERCERT_PROXY,
|
||||
BLOB_LAST
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue