signed vs. unsigned clash.

This commit is contained in:
Richard Levitte 2006-01-14 11:49:24 +00:00
parent 802d7fa6d5
commit 6b9e941ee3

View File

@ -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;