From: Richard Levitte Date: Sat, 14 Jan 2006 11:49:24 +0000 (+0000) Subject: signed vs. unsigned clash. X-Git-Tag: OpenSSL_0_9_8k^2~1585 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6b9e941ee3a69fa1da078b730ddd9237a8a5ba50;p=oweals%2Fopenssl.git signed vs. unsigned clash. --- diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index abbde22ef3..d591daaff6 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;