summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_esp_new.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1998-05-24 22:56:30 +0000
committerNiels Provos <provos@cvs.openbsd.org>1998-05-24 22:56:30 +0000
commit18f9ee0a898ecd210d09c5d92b19688710c4ddf6 (patch)
tree94681c58707d31ca60f78237bffaf4111b77ee82 /sys/netinet/ip_esp_new.c
parentbea77fd5a0761e37dbba60e9c5a4a995bdaeef07 (diff)
allow the use of blowfish and cast encryption with implicit iv
Diffstat (limited to 'sys/netinet/ip_esp_new.c')
-rw-r--r--sys/netinet/ip_esp_new.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_esp_new.c b/sys/netinet/ip_esp_new.c
index d0284704f1d..2b775a1bdd2 100644
--- a/sys/netinet/ip_esp_new.c
+++ b/sys/netinet/ip_esp_new.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_esp_new.c,v 1.19 1998/05/18 21:10:43 provos Exp $ */
+/* $OpenBSD: ip_esp_new.c,v 1.20 1998/05/24 22:56:29 provos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -124,13 +124,13 @@ struct esp_xform esp_new_xform[] = {
},
{ ALG_ENC_BLF, "Blowfish",
ESP_BLF_BLKS, ESP_BLF_IVS,
- 5, BLF_MAXKEYLEN, 8,
+ 5, BLF_MAXKEYLEN, 8 | 1,
blf_encrypt,
blf_decrypt
},
{ ALG_ENC_CAST, "CAST",
ESP_CAST_BLKS, ESP_CAST_IVS,
- 5, 16, 8,
+ 5, 16, 8 | 1,
cast5_encrypt,
cast5_decrypt
}