summaryrefslogtreecommitdiff
path: root/programs/pluto/crypto.h
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2007-02-22 20:19:04 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2007-02-22 20:19:04 +0000
commitea939d07c84d2a8e51215458063fc05e9c399290 (patch)
tree1c2a002f6797c36fd0cc6bf151d696fd262ea95c /programs/pluto/crypto.h
parentaaa0331ecf95ced1e913ac9be50168cf0e7cbb82 (diff)
downloadvyos-strongswan-ea939d07c84d2a8e51215458063fc05e9c399290.tar.gz
vyos-strongswan-ea939d07c84d2a8e51215458063fc05e9c399290.zip
[svn-upgrade] Integrating new upstream version, strongswan (2.8.3)
Diffstat (limited to 'programs/pluto/crypto.h')
-rw-r--r--programs/pluto/crypto.h5
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(