aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-07-27 18:30:11 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-07-27 18:30:11 +0200
commit7551e55d6614cddb039602e08f3d7aa302299617 (patch)
tree8c8a616c0c4e1a51bf3a5b5243b2fc2de7cefa43 /lib
parent02c7a2ccabf3b21f881faacf286b4308c4ace1bc (diff)
darwinssl: fix variable type mistake (regression)
... which made --tlsv1.2 not work because it would blank the max tls version variable. Reported-by: Nick Miyake Bug: #1703
Diffstat (limited to 'lib')
-rw-r--r--lib/vtls/darwinssl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vtls/darwinssl.c b/lib/vtls/darwinssl.c
index dd1fc570a..b4b747ba4 100644
--- a/lib/vtls/darwinssl.c
+++ b/lib/vtls/darwinssl.c
@@ -1075,7 +1075,8 @@ CF_INLINE bool is_file(const char *filename)
}
#if CURL_BUILD_MAC_10_8 || CURL_BUILD_IOS
-static CURLcode darwinssl_version_from_curl(long *darwinver, long ssl_version)
+static CURLcode darwinssl_version_from_curl(SSLProtocol *darwinver,
+ long ssl_version)
{
switch(ssl_version) {
case CURL_SSLVERSION_TLSv1_0: