summaryrefslogtreecommitdiffstats
path: root/ssl/t1_lib.c
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2013-08-01 11:14:23 +0100
committerScott Deboy <sdeboy@secondstryke.com>2014-02-09 08:02:40 -0800
commit8b41df41c2bb51d6ad52d1ca54734776cf592022 (patch)
treecc073724cb5f4c33240ce9f4f69037d45c6e2421 /ssl/t1_lib.c
parentc32ebefaa891b60a5dd23a039a2da5982d25ae26 (diff)
Make it build.
(cherry picked from commit a6a48e87bc469f37ed1c53d0e4d22faaa0a5adf3) Conflicts: ssl/s3_clnt.c ssl/t1_lib.c
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r--ssl/t1_lib.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index bf96ae25c3..db9a14870c 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -1089,19 +1089,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 *al)
{
int extdatalen=0;