]> granicus.if.org Git - curl/commitdiff
polarssl: fixed compile errors introduced in 6448f98c
authorDan Fandrich <dan@coneharvesters.com>
Thu, 9 Mar 2017 08:06:13 +0000 (09:06 +0100)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 9 Mar 2017 08:07:53 +0000 (09:07 +0100)
lib/vtls/polarssl.c

index aa34bbc43d64f08e931490aa87e0cb487791b29b..b2fea8a5462fc075966e894d901a2ddbe3bec101 100644 (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];