Change how hostname is stored internally

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-06 10:47:06 +01:00
parent 2b49445876
commit ba26c24769
3 changed files with 20 additions and 18 deletions

View file

@ -1069,8 +1069,7 @@ struct mbedtls_ssl_context
/*
* SNI extension
*/
unsigned char *hostname;
size_t hostname_len;
char *hostname;
#endif
#if defined(MBEDTLS_SSL_ALPN)