1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

polarssl: fixed compile errors introduced in 6448f98c

This commit is contained in:
Dan Fandrich 2017-03-09 09:06:13 +01:00
parent 28a3453ac7
commit 7d62502d6c

View File

@ -140,7 +140,7 @@ static void polarssl_debug(void *context, int level, const char *line)
static Curl_recv polarssl_recv;
static Curl_send polarssl_send;
static CURLcode polarssl_version_from_curl(int *polarver, long version)
static CURLcode polarssl_version_from_curl(int *polarver, long ssl_version)
{
switch(ssl_version) {
case CURL_SSLVERSION_TLSv1_0:
@ -159,7 +159,7 @@ static CURLcode polarssl_version_from_curl(int *polarver, long version)
}
static CURLcode
set_ssl_version_min_max(struct connectdata *conn, int sockindex);
set_ssl_version_min_max(struct connectdata *conn, int sockindex)
{
struct Curl_easy *data = conn->data;
struct ssl_connect_data* connssl = &conn->ssl[sockindex];