mirror of
https://github.com/openssl/openssl.git
synced 2024-11-24 10:34:12 +08:00
signed vs. unsigned clash.
This commit is contained in:
parent
802d7fa6d5
commit
6b9e941ee3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user