mirror of
https://github.com/curl/curl.git
synced 2026-07-24 21:37:17 +03: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue