mirror of
https://github.com/moparisthebest/curl
synced 2024-11-13 13:05:03 -05:00
polarssl: fixed compile errors introduced in 6448f98c
This commit is contained in:
parent
28a3453ac7
commit
7d62502d6c
@ -140,7 +140,7 @@ static void polarssl_debug(void *context, int level, const char *line)
|
|||||||
static Curl_recv polarssl_recv;
|
static Curl_recv polarssl_recv;
|
||||||
static Curl_send polarssl_send;
|
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) {
|
switch(ssl_version) {
|
||||||
case CURL_SSLVERSION_TLSv1_0:
|
case CURL_SSLVERSION_TLSv1_0:
|
||||||
@ -159,7 +159,7 @@ static CURLcode polarssl_version_from_curl(int *polarver, long version)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static CURLcode
|
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 Curl_easy *data = conn->data;
|
||||||
struct ssl_connect_data* connssl = &conn->ssl[sockindex];
|
struct ssl_connect_data* connssl = &conn->ssl[sockindex];
|
||||||
|
Loading…
Reference in New Issue
Block a user