Commit 88753c1e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

polarssl: indented code, removed unused variables

parent 8748d478
Loading
Loading
Loading
Loading
+21 −30
Original line number Diff line number Diff line
@@ -147,14 +147,7 @@ polarssl_connect_step1(struct connectdata *conn,
{
  struct Curl_easy *data = conn->data;
  struct ssl_connect_data* connssl = &conn->ssl[sockindex];

  bool sni = TRUE; /* default is SNI enabled */
  int ret = -1;
#ifdef ENABLE_IPV6
  struct in6_addr addr;
#else
  struct in_addr addr;
#endif
  char errorbuf[128];
  errorbuf[0]=0;

@@ -163,8 +156,6 @@ polarssl_connect_step1(struct connectdata *conn,
    failf(data, "PolarSSL does not support SSLv2");
    return CURLE_SSL_CONNECT_ERROR;
  }
  else if(data->set.ssl.version == CURL_SSLVERSION_SSLv3)
    sni = FALSE; /* SSLv3 has no SNI */

#ifdef THREADING_SUPPORT
  entropy_init_mutex(&entropy);