提交 6b9e941e 编写于 作者: R Richard Levitte

signed vs. unsigned clash.

上级 802d7fa6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册