ref: 2923f85445c8092257d1f26503839bbbb5c5dac5
parent: 42924ab37b6c00e9e6d437bddfe12633e43de634
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Feb 19 04:15:21 EST 2016
libsec: remove unused tlsSecKill()
--- a/libsec/tlshand.c
+++ b/libsec/tlshand.c
@@ -393,7 +393,6 @@
static Bytes* tlsSecECDHEc(TlsSec *sec, uchar *srandom, int vers, int curve, Bytes *Ys);
static int tlsSecFinished(TlsSec *sec, HandshakeHash hsh, uchar *fin, int nfin, int isclient);
static void tlsSecOk(TlsSec *sec);
-static void tlsSecKill(TlsSec *sec);
static void tlsSecClose(TlsSec *sec);
static void setMasterSecret(TlsSec *sec, Bytes *pm);
static void setSecrets(TlsSec *sec, uchar *kd, int nkd);
@@ -2712,15 +2711,6 @@
{
if(sec->ok == 0)
sec->ok = 1;
-}
-
-static void
-tlsSecKill(TlsSec *sec)
-{
- if(!sec)
- return;
- factotum_rsa_close(sec->rpc);
- sec->ok = -1;
}
static void