mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 07:38:49 -05:00
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
This commit is contained in:
parent
02c7a2ccab
commit
7551e55d66
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user