aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2017-03-09 09:06:13 +0100
committerDan Fandrich <dan@coneharvesters.com>2017-03-09 09:07:53 +0100
commit7d62502d6c123d08411a0be8a9a38d90861833d8 (patch)
tree942d4fe419819333ea6489b3b080ca801a274759 /lib
parent28a3453ac74b23f5d2b5271a531157c3e7643d69 (diff)
polarssl: fixed compile errors introduced in 6448f98c
Diffstat (limited to 'lib')
-rw-r--r--lib/vtls/polarssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vtls/polarssl.c b/lib/vtls/polarssl.c
index aa34bbc43..b2fea8a54 100644
--- a/lib/vtls/polarssl.c
+++ b/lib/vtls/polarssl.c
@@ -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];