]> git.ipfire.org Git - thirdparty/curl.git/commit
setopt: support certificate options in memory with struct curl_blob
authorGilles Vollant <info@winimage.com>
Fri, 15 May 2020 08:47:46 +0000 (10:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 15 May 2020 11:03:59 +0000 (13:03 +0200)
commitcac5374298b3e79405bbdabe38941227c73a4c96
treeb3548eba0d3ea4538765897a7ef01154805788e5
parent8df455479f8801bbebad8839fc96abbffa711603
setopt: support certificate options in memory with struct curl_blob

This change introduces a generic way to provide binary data in setopt
options, called BLOBs.

This change introduces these new setopts:

CURLOPT_ISSUERCERT_BLOB, CURLOPT_PROXY_SSLCERT_BLOB,
CURLOPT_PROXY_SSLKEY_BLOB, CURLOPT_SSLCERT_BLOB and CURLOPT_SSLKEY_BLOB.

Reviewed-by: Daniel Stenberg
Closes #5357
21 files changed:
docs/libcurl/curl_easy_setopt.3
docs/libcurl/opts/CURLOPT_ISSUERCERT_BLOB.3 [new file with mode: 0644]
docs/libcurl/opts/CURLOPT_PROXY_SSLCERT_BLOB.3 [new file with mode: 0644]
docs/libcurl/opts/CURLOPT_PROXY_SSLKEY_BLOB.3 [new file with mode: 0644]
docs/libcurl/opts/CURLOPT_SSLCERT.3
docs/libcurl/opts/CURLOPT_SSLCERT_BLOB.3 [new file with mode: 0644]
docs/libcurl/opts/CURLOPT_SSLKEY_BLOB.3 [new file with mode: 0644]
docs/libcurl/opts/Makefile.inc
docs/libcurl/symbols-in-versions
include/curl/curl.h
include/curl/easy.h
lib/easy.c
lib/setopt.c
lib/setopt.h
lib/url.c
lib/urldata.h
lib/vtls/openssl.c
lib/vtls/schannel.c
lib/vtls/sectransp.c
src/tool_operate.c
src/tool_setopt.c