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 abbde22ef302b5d9cbb7277b9595c8a42c3fa567..d591daaff638a4161d95ba72e256c82217084d64 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;