Date: Fri, 25 Feb 2011 09:29:32 +0000 (UTC) From: VANHULLEBUS Yvan <vanhu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219026 - head/sys/opencrypto Message-ID: <201102250929.p1P9TWMo005283@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <M.Drochner@fz-juelich.de> 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102250929.p1P9TWMo005283>