Author: vanhu
Date: Fri Feb 25 09:29:32 2011
New Revision: 219026
URL: http://svn.freebsd.org/changeset/base/219026

Log:
  fixed size of AH_ALEN_MAX, which is 64 bytes for SHA-512.
  
  Obtained from:        Matthias Drochner <m.droch...@fz-juelich.de>
  MFC after: 3d

Modified:
  head/sys/opencrypto/xform.h

Modified: head/sys/opencrypto/xform.h
==============================================================================
--- head/sys/opencrypto/xform.h Fri Feb 25 09:07:17 2011        (r219025)
+++ head/sys/opencrypto/xform.h Fri Feb 25 09:29:32 2011        (r219026)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to