X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=md5.c;h=5a0785d1851aee39faba4f7f2cc728d497282eef;hb=08de0b57479d159b443adfee3e0e3b5bfcc4bbd1;hp=7673af20c6a027eaa9ea623c7906257488c9bfb3;hpb=b3e534f945ae56605bc5309e7c5af020c797a69b;p=onak.git diff --git a/md5.c b/md5.c index 7673af2..5a0785d 100644 --- a/md5.c +++ b/md5.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: md5.c,v 1.3 2003/10/04 10:21:41 noodles Exp $ + * $Id: md5.c,v 1.4 2004/05/27 22:02:05 noodles Exp $ */ /* Written by Ulrich Drepper , 1995. */ /* heavily modified for GnuPG by */ @@ -264,12 +264,12 @@ void md5_final( MD5_CONTEXT *hd ) /*#define X(a) do { *(u32*)p = hd->##a ; p += 4; } while(0)*/ /* Unixware's cpp doesn't like the above construct so we do it his way: * (reported by Allan Clark) */ - #define X(a) do { *(unsigned int *)p = (*hd).a ; p += 4; } while(0) +#define X(a) do { *(unsigned int *)p = (*hd).a ; p += 4; } while(0) X(A); X(B); X(C); X(D); - #undef X +#undef X }