summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJozef Kralik <jozef.kralik@eset.sk>2016-12-13 21:10:00 +0100
committerng0 <ng0@infotropique.org>2017-08-22 15:23:04 +0000
commitdfd5764f2df1838260cd6af4a19eb838c04275e1 (patch)
tree103746c2d8c4563ce63d2a2c361bea8df28170e1 /packages
parentf8cba56ce73be48b1e9d4e2f150e9bb2c53bd4b5 (diff)
downloadgnurl-dfd5764f2df1838260cd6af4a19eb838c04275e1.tar.gz
gnurl-dfd5764f2df1838260cd6af4a19eb838c04275e1.tar.bz2
gnurl-dfd5764f2df1838260cd6af4a19eb838c04275e1.zip
vtls: add options to specify range of enabled TLS versions
This commit introduces the CURL_SSLVERSION_MAX_* constants as well as the --tls-max option of the curl tool. Closes https://github.com/curl/curl/pull/1166
Diffstat (limited to 'packages')
-rw-r--r--packages/OS400/curl.inc.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in
index c6224a781..b9b0808c7 100644
--- a/packages/OS400/curl.inc.in
+++ b/packages/OS400/curl.inc.in
@@ -262,6 +262,16 @@
d c 6
d CURL_SSLVERSION_TLSv1_3...
d c 7
+ d CURL_SSLVERSION_MAX_DEFAULT...
+ d c X'00010000'
+ d CURL_SSLVERSION_MAX_TLSv1_0...
+ d c X'00040000'
+ d CURL_SSLVERSION_MAX_TLSv1_1...
+ d c X'00050000'
+ d CURL_SSLVERSION_MAX_TLSv1_2...
+ d c X'00060000'
+ d CURL_SSLVERSION_MAX_TLSv1_3...
+ d c X'00070000'
*
d CURL_TLSAUTH_NONE...
d c 0