summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-08-09 12:35:26 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-08-09 12:35:26 +0000
commitb15edfb230e8fc9ccae7c9f1890170dc936cdfd3 (patch)
tree4006254ad70fce0b20341dc6c194c5ae32a78d33 /sbin/ipsecctl
parent6b9d2f2da9e415a65254dba3d1683b194644e7e0 (diff)
Correct keysize for 3des-cbc
Diffstat (limited to 'sbin/ipsecctl')
-rw-r--r--sbin/ipsecctl/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y
index 3c5ea5ab94c..5560ac3d059 100644
--- a/sbin/ipsecctl/parse.y
+++ b/sbin/ipsecctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.20 2005/08/08 13:29:00 hshoexer Exp $ */
+/* $OpenBSD: parse.y,v 1.21 2005/08/09 12:35:25 hshoexer Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -67,7 +67,7 @@ const struct ipsec_xf authxfs[] = {
const struct ipsec_xf encxfs[] = {
{"unknown", ENCXF_UNKNOWN, 0, 0},
{"none", ENCXF_NONE, 0, 0},
- {"3des-cbc", ENCXF_3DES_CBC, 8, 8},
+ {"3des-cbc", ENCXF_3DES_CBC, 24, 24},
{"des-cbc", ENCXF_DES_CBC, 8, 8},
{"aes", ENCXF_AES, 16, 32},
{"aesctr", ENCXF_AESCTR, 16+4, 32+4},