From owner-svn-src-head@FreeBSD.ORG Fri Feb 25 09:29:33 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07EE21065670; Fri, 25 Feb 2011 09:29:33 +0000 (UTC) (envelope-from vanhu@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EB70D8FC12; Fri, 25 Feb 2011 09:29:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1P9TWkX005285; Fri, 25 Feb 2011 09:29:32 GMT (envelope-from vanhu@svn.freebsd.org) Received: (from vanhu@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1P9TWMo005283; Fri, 25 Feb 2011 09:29:32 GMT (envelope-from vanhu@svn.freebsd.org) Message-Id: <201102250929.p1P9TWMo005283@svn.freebsd.org> From: VANHULLEBUS Yvan Date: Fri, 25 Feb 2011 09:29:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219026 - head/sys/opencrypto X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 09:29:33 -0000 Author: vanhu Date: Fri Feb 25 09:29:32 2011 New Revision: 219026 URL: http://svn.freebsd.org/changeset/base/219026 Log: fixed size of AH_ALEN_MAX, which is 64 bytes for SHA-512. Obtained from: Matthias Drochner MFC after: 3d Modified: head/sys/opencrypto/xform.h Modified: head/sys/opencrypto/xform.h ============================================================================== --- head/sys/opencrypto/xform.h Fri Feb 25 09:07:17 2011 (r219025) +++ head/sys/opencrypto/xform.h Fri Feb 25 09:29:32 2011 (r219026) @@ -43,7 +43,8 @@ struct auth_hash { void (*Final) (u_int8_t *, void *); }; -#define AH_ALEN_MAX 20 /* max authenticator hash length */ +/* XXX use a define common with other hash stuff ! */ +#define AH_ALEN_MAX 64 /* max authenticator hash length */ struct enc_xform { int type;