HTTPS Proxy: Implement CURLOPT_PROXY_PINNEDPUBLICKEY

This commit is contained in:
Thomas Glanzmann 2016-11-25 10:47:25 +01:00 committed by Daniel Stenberg
parent 1232dbb8bd
commit 4f8b17743d
12 changed files with 147 additions and 13 deletions

View file

@ -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;