Page MenuHomeFreeBSD

D24341.diff
No OneTemporary

D24341.diff

Index: head/sys/netipsec/xform_esp.c
===================================================================
--- head/sys/netipsec/xform_esp.c
+++ head/sys/netipsec/xform_esp.c
@@ -94,7 +94,7 @@
struct espstat, espstat,
"ESP statistics (struct espstat, netipsec/esp_var.h");
-static struct timeval deswarn, blfwarn, castwarn, camelliawarn;
+static struct timeval deswarn, blfwarn, castwarn, camelliawarn, tdeswarn;
static int esp_input_cb(struct cryptop *op);
static int esp_output_cb(struct cryptop *crp);
@@ -162,6 +162,10 @@
switch (sav->alg_enc) {
case SADB_EALG_DESCBC:
if (ratecheck(&deswarn, &ipsec_warn_interval))
+ gone_in(13, "DES cipher for IPsec");
+ break;
+ case SADB_EALG_3DESCBC:
+ if (ratecheck(&tdeswarn, &ipsec_warn_interval))
gone_in(13, "DES cipher for IPsec");
break;
case SADB_X_EALG_BLOWFISHCBC:

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 31, 9:13 AM (1 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16359508
Default Alt Text
D24341.diff (852 B)

Event Timeline