From: Patrick Monnerat Date: Wed, 8 Oct 2014 13:47:04 +0000 (+0200) Subject: OS400: upgrade interface for pinned public key (no implementation yet) X-Git-Tag: curl-7_39_0~166 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=548811cb19dfdb92977dba9567752a7a238a85ed;p=thirdparty%2Fcurl.git OS400: upgrade interface for pinned public key (no implementation yet) --- diff --git a/packages/OS400/README.OS400 b/packages/OS400/README.OS400 index 06e6632a2a..b0bdf8e750 100644 --- a/packages/OS400/README.OS400 +++ b/packages/OS400/README.OS400 @@ -91,6 +91,7 @@ options: CURLOPT_NETRC_FILE CURLOPT_NOPROXY CURLOPT_PASSWORD + CURLOPT_PINNEDPUBLICKEY CURLOPT_PROXY CURLOPT_PROXYPASSWORD CURLOPT_PROXYUSERNAME diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index 34ca8dc234..6cbbaa77d8 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -1154,6 +1154,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...) case CURLOPT_NETRC_FILE: case CURLOPT_NOPROXY: case CURLOPT_PASSWORD: + case CURLOPT_PINNEDPUBLICKEY: case CURLOPT_PROXY: case CURLOPT_PROXYPASSWORD: case CURLOPT_PROXYUSERNAME: diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in index 3f973cc2c4..f77bcae10d 100644 --- a/packages/OS400/curl.inc.in +++ b/packages/OS400/curl.inc.in @@ -511,6 +511,8 @@ d c 88 d CURLE_NO_CONNECTION_AVAILABLE... d c 89 + d CURLE_SSL_PINNEDPUBKEYNOTMATCH... + d c 90 * /if not defined(CURL_NO_OLDIES) d CURLE_URL_MALFORMAT_USER... @@ -1189,6 +1191,8 @@ d c 10228 d CURLOPT_HEADEROPT... d c 00229 + d CURLOPT_PINNEDPUBLICKEY... + d c 10230 * /if not defined(CURL_NO_OLDIES) d CURLOPT_FILE c 10001