summaryrefslogtreecommitdiff
path: root/sys/src/libsec
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-02-19 09:14:09 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2016-02-19 09:14:09 +0100
commite1633ed338bbac32b1364b9d8a7f365efa4c3778 (patch)
tree70a4f2ee0e5ac692d2bb48b762477120c80e61a8 /sys/src/libsec
parent0cad8a59ed8f077f75900c563e0be0b9e973da07 (diff)
libsec: remove unused tlsSecKill()
Diffstat (limited to 'sys/src/libsec')
-rw-r--r--sys/src/libsec/port/tlshand.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/src/libsec/port/tlshand.c b/sys/src/libsec/port/tlshand.c
index fec59f6a9..582a43f0a 100644
--- a/sys/src/libsec/port/tlshand.c
+++ b/sys/src/libsec/port/tlshand.c
@@ -394,7 +394,6 @@ static Bytes* tlsSecDHEc(TlsSec *sec, uchar *srandom, int vers, Bytes *p, Bytes
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);
@@ -2716,15 +2715,6 @@ tlsSecOk(TlsSec *sec)
}
static void
-tlsSecKill(TlsSec *sec)
-{
- if(!sec)
- return;
- factotum_rsa_close(sec->rpc);
- sec->ok = -1;
-}
-
-static void
tlsSecClose(TlsSec *sec)
{
if(sec == nil)