From 6b9e941ee3a69fa1da078b730ddd9237a8a5ba50 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 14 Jan 2006 11:49:24 +0000 Subject: [PATCH] signed vs. unsigned clash. --- ssl/t1_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- GitLab