From 9a5d4089bc3a7dfa11d0665e50a7b060d85116e2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 13 Sep 2005 23:32:15 +0000 Subject: (struct sha1_ctx): Mark buffer as being aligned. --- lib/sha1.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/sha1.h b/lib/sha1.h index b660cd0f3..bb48855b8 100644 --- a/lib/sha1.h +++ b/lib/sha1.h @@ -1,6 +1,6 @@ /* Declarations of functions and data types used for SHA1 sum library functions. - Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -33,7 +33,7 @@ struct sha1_ctx md5_uint32 total[2]; md5_uint32 buflen; - char buffer[128]; + char buffer[128] __attribute__ ((__aligned__ (__alignof__ (md5_uint32)))); }; -- cgit v1.2.3-70-g09d2