From b15edfb230e8fc9ccae7c9f1890170dc936cdfd3 Mon Sep 17 00:00:00 2001 From: Hans-Joerg Hoexer Date: Tue, 9 Aug 2005 12:35:26 +0000 Subject: Correct keysize for 3des-cbc --- sbin/ipsecctl/parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/ipsecctl/parse.y') 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 @@ -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}, -- cgit v1.2.3