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
This commit is contained in:
vanhu 2011-02-25 09:29:32 +00:00
parent c8765c79d9
commit 53fef1cd60

View File

@ -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;