diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2007-02-22 20:26:30 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2007-02-22 20:26:30 +0000 |
commit | c54a140a445bfe7aa66721f68bb0781f26add91c (patch) | |
tree | f0c377d556ca1ac780bd5e2f2149c7ec40e1d8d3 /programs/pluto/crypto.h | |
parent | 64081ed57a64812a1e09b5a749a6a105389a79ca (diff) | |
download | vyos-strongswan-c54a140a445bfe7aa66721f68bb0781f26add91c.tar.gz vyos-strongswan-c54a140a445bfe7aa66721f68bb0781f26add91c.zip |
- Update to new upstream release.
Diffstat (limited to 'programs/pluto/crypto.h')
-rw-r--r-- | programs/pluto/crypto.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <gmp.h> /* 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( |