diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index abbde22ef302b5d9cbb7277b9595c8a42c3fa567..d591daaff638a4161d95ba72e256c82217084d64 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -303,7 +303,7 @@ int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d, in } else s->servername_done = strlen(s->session->tlsext_hostname) == len - && strncmp(s->session->tlsext_hostname,sdata, len) == 0; + && strncmp(s->session->tlsext_hostname, (char *)sdata, len) == 0; break;