libsec: remove unused tlsSecKill()
This commit is contained in:
parent
0cad8a59ed
commit
e1633ed338
1 changed files with 0 additions and 10 deletions
|
@ -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 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 int tlsSecFinished(TlsSec *sec, HandshakeHash hsh, uchar *fin, int nfin, int isclient);
|
||||||
static void tlsSecOk(TlsSec *sec);
|
static void tlsSecOk(TlsSec *sec);
|
||||||
static void tlsSecKill(TlsSec *sec);
|
|
||||||
static void tlsSecClose(TlsSec *sec);
|
static void tlsSecClose(TlsSec *sec);
|
||||||
static void setMasterSecret(TlsSec *sec, Bytes *pm);
|
static void setMasterSecret(TlsSec *sec, Bytes *pm);
|
||||||
static void setSecrets(TlsSec *sec, uchar *kd, int nkd);
|
static void setSecrets(TlsSec *sec, uchar *kd, int nkd);
|
||||||
|
@ -2715,15 +2714,6 @@ tlsSecOk(TlsSec *sec)
|
||||||
sec->ok = 1;
|
sec->ok = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
tlsSecKill(TlsSec *sec)
|
|
||||||
{
|
|
||||||
if(!sec)
|
|
||||||
return;
|
|
||||||
factotum_rsa_close(sec->rpc);
|
|
||||||
sec->ok = -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
tlsSecClose(TlsSec *sec)
|
tlsSecClose(TlsSec *sec)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue