signed vs. unsigned clash.
authorRichard Levitte <levitte@openssl.org>
Sat, 14 Jan 2006 11:49:24 +0000 (11:49 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 14 Jan 2006 11:49:24 +0000 (11:49 +0000)
ssl/t1_lib.c

index abbde22..d591daa 100644 (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;