summaryrefslogtreecommitdiffstats
path: root/sys/netipsec/key.c
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-09-15 15:58:34 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2015-10-20 12:04:34 -0500
commiteb4c2b213068efe8f5f927b6d6b5110a9855938b (patch)
treea5bfd2105625dc7d136e8c0a2b0714ea9564c33b /sys/netipsec/key.c
parent23a06cf9521e8fcbe1800f6ea4b2a9a552d1856c (diff)
downloadFreeBSD-src-eb4c2b213068efe8f5f927b6d6b5110a9855938b.zip
FreeBSD-src-eb4c2b213068efe8f5f927b6d6b5110a9855938b.tar.gz
MFC r284259:
drop key_sa_stir_iv as it isn't used... Reviewed by: eri, ae TAG: IPSEC-HEAD Issue: #4841
Diffstat (limited to 'sys/netipsec/key.c')
-rw-r--r--sys/netipsec/key.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c
index 6ab3f64..025fffe4 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -7765,14 +7765,6 @@ key_sa_chgstate(struct secasvar *sav, u_int8_t state)
}
}
-void
-key_sa_stir_iv(struct secasvar *sav)
-{
-
- IPSEC_ASSERT(sav->iv != NULL, ("null IV"));
- key_randomfill(sav->iv, sav->ivlen);
-}
-
/*
* Take one of the kernel's security keys and convert it into a PF_KEY
* structure within an mbuf, suitable for sending up to a waiting
OpenPOWER on IntegriCloud