From: iglesias@draco.acs.uci.edu (Mike Iglesias)
Subject: Re: Digital UNIX and MD5
Date: 1997/04/07 [thread overview]
Message-ID: <5ibufq$6l0@news.service.uci.edu> (raw)
In-Reply-To: 5ib1s6$9dg1@news.nde.state.ne.us
In article <5ib1s6$9dg1@news.nde.state.ne.us>,
bzimmer <bzimmer@genie.esu10.k12.ne.us> wrote:
>Has anyone had any problems with MD5 and Digital UNIX? I've downloaded
>MD5 from ftp.cert.org and compiled it, but when I run the tests, they
>all fail. I wander over to one of our Linux machines, go through the
>exact same steps, and MD5 passes with flying colors.
>
>Any ideas? I took a quick glance through the code and saw quite a few
>bit shifts and that kind of thing, so I wondered if this wouldn't have
>something to do with DU being 64 bit.
Yes, it does.
Apply the patch below to fix it.
*** global.h.dist Thu May 13 11:15:17 1993
--- global.h Thu Nov 2 11:10:20 1995
***************
*** 17,23 ****
--- 17,27 ----
typedef unsigned short int UINT2;
/* UINT4 defines a four byte word */
+ #ifdef __alpha
+ typedef unsigned int UINT4;
+ #else
typedef unsigned long int UINT4;
+ #endif
/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
prev parent reply other threads:[~1997-04-07 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-07 4:00 Digital UNIX and MD5 bzimmer
1997-04-07 4:00 ` Mike Iglesias [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox