From ea939d07c84d2a8e51215458063fc05e9c399290 Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Thu, 22 Feb 2007 20:19:04 +0000 Subject: [svn-upgrade] Integrating new upstream version, strongswan (2.8.3) --- programs/pluto/crypto.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'programs/pluto/crypto.h') diff --git a/programs/pluto/crypto.h b/programs/pluto/crypto.h index d29475af2..fa3af3a8b 100644 --- a/programs/pluto/crypto.h +++ b/programs/pluto/crypto.h @@ -11,7 +11,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * RCSID $Id: crypto.h,v 1.6 2005/04/07 20:13:30 as Exp $ + * RCSID $Id: crypto.h,v 1.7 2007/02/21 14:21:48 as Exp $ */ #include /* GNU MP library */ @@ -76,7 +76,8 @@ struct hmac_ctx { const struct hash_desc *h; /* underlying hash function */ size_t hmac_digest_size; /* copy of h->hash_digest_size */ union hash_ctx hash_ctx; /* ctx for hash function */ - u_char buf1[HMAC_BUFSIZE], buf2[HMAC_BUFSIZE]; + u_char buf1[MAX_HASH_BLOCK_SIZE]; + u_char buf2[MAX_HASH_BLOCK_SIZE]; }; extern void hmac_init( -- cgit v1.2.3