ref: 734ac7f2633100b3cd83b6a2482fb0f63582b4a3
parent: cc4362cfd57f97fb9e4ab8893a2152398d535f23
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Nov 17 14:55:00 EST 2016
libsec: remove unused get32() function
--- a/libsec/tlshand.c
+++ b/libsec/tlshand.c
@@ -439,7 +439,6 @@
static void put32(uchar *p, u32int);
static void put24(uchar *p, int);
static void put16(uchar *p, int);
-static u32int get32(uchar *p);
static int get24(uchar *p);
static int get16(uchar *p);
static Bytes* newbytes(int len);
@@ -3012,12 +3011,6 @@
{
p[0] = x>>8;
p[1] = x;
-}
-
-static u32int
-get32(uchar *p)
-{
- return (p[0]<<24)|(p[1]<<16)|(p[2]<<8)|p[3];
}
static int