diff options
Diffstat (limited to 'src/pluto/crypto.h')
-rw-r--r-- | src/pluto/crypto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pluto/crypto.h b/src/pluto/crypto.h index d29475af2..48c983349 100644 --- a/src/pluto/crypto.h +++ b/src/pluto/crypto.h @@ -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( |