diff options
author | Renaud Lehoux <renaud.lehoux@ercom.fr> | 2016-05-30 18:10:23 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-05-30 23:05:51 +0200 |
commit | 2072b4ae4f337a46283bfcc98a6f42c063d43bdf (patch) | |
tree | cabc2c65f6760eb2d009317a35b960d66ee22e9d | |
parent | 071c56139463137a4e32a8d841a70c16f3682bb7 (diff) |
mbedtls: removed unused variables
Closes #838
-rw-r--r-- | lib/vtls/mbedtls.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c index ef0b9492a..fafaef675 100644 --- a/lib/vtls/mbedtls.c +++ b/lib/vtls/mbedtls.c @@ -161,13 +161,7 @@ mbed_connect_step1(struct connectdata *conn, struct SessionHandle *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 void *old_session = NULL; char errorbuf[128]; errorbuf[0]=0; @@ -177,8 +171,6 @@ mbed_connect_step1(struct connectdata *conn, failf(data, "mbedTLS 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); |