Skip to content

Commit

Permalink
Merge 44d5d34 into 6cbe969
Browse files Browse the repository at this point in the history
  • Loading branch information
MonkeybreadSoftware committed Apr 16, 2018
2 parents 6cbe969 + 44d5d34 commit fc27a5f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/vtls/vtls.c
Expand Up @@ -1303,6 +1303,9 @@ CURLsslset curl_global_sslset(curl_sslbackend id, const char *name,
const curl_ssl_backend ***avail)
{
int i;

if(avail)
*avail = (const curl_ssl_backend **)&available_backends;

if(Curl_ssl != &Curl_ssl_multi)
return id == Curl_ssl->info.id ? CURLSSLSET_OK : CURLSSLSET_TOO_LATE;
Expand All @@ -1315,8 +1318,6 @@ CURLsslset curl_global_sslset(curl_sslbackend id, const char *name,
}
}

if(avail)
*avail = (const curl_ssl_backend **)&available_backends;
return CURLSSLSET_UNKNOWN_BACKEND;
}

Expand Down

0 comments on commit fc27a5f

Please sign in to comment.