Make it build.

This commit is contained in:
Ben Laurie
2013-08-01 11:14:23 +01:00
parent 36086186a9
commit a6a48e87bc
6 changed files with 58 additions and 47 deletions

View File

@@ -1086,19 +1086,6 @@ void ssl_set_client_disabled(SSL *s)
c->valid = 1;
}
/* byte_compare is a compare function for qsort(3) that compares bytes. */
static int byte_compare(const void *in_a, const void *in_b)
{
unsigned char a = *((const unsigned char*) in_a);
unsigned char b = *((const unsigned char*) in_b);
if (a > b)
return 1;
else if (a < b)
return -1;
return 0;
}
unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, unsigned char *limit)
{
int extdatalen=0;