From 4f8b17743d7c55a0bfb48463238c88564875ae47 Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Fri, 25 Nov 2016 10:47:25 +0100 Subject: HTTPS Proxy: Implement CURLOPT_PROXY_PINNEDPUBLICKEY --- include/curl/curl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/curl/curl.h b/include/curl/curl.h index df2914e2d..c8b85069c 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -1770,6 +1770,10 @@ typedef enum { CURLPROXY_SOCKS4A and CURLPROXY_SOCKS5. */ CINIT(SOCKS_PROXYTYPE, LONG, 263), + /* The public key in DER form used to validate the proxy public key + this option is used only if PROXY_SSL_VERIFYPEER is true */ + CINIT(PROXY_PINNEDPUBLICKEY, STRINGPOINT, 264), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; -- cgit v1.2.3