Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Masui Kenji <masui@cs.titech.ac.jp>
Subject: Re: Question: Does anyone run APOP under qpopper2.3 on Dec Alpha 3.2
Date: 1997/07/09	[thread overview]
Message-ID: <s1zwwn0mluu.fsf@gigant.cs.titech.ac.jp> (raw)
In-Reply-To: 5pugl7$luv$1@nntp1.ba.best.com


pcm@best.com (Tricia McCarthy) writes:

> Thu Jun 12 13:48:20 1997 [11014] tmccarth@sunsite.berkeley.edu: -ERR authentication failure
> 
> Rather than go into all the endless details, I thought I would ask if anyone 
> uses APOP on a Dec Alpha.

  I made qpopper on DigitalUnix 4.0a. 

  This error is due to variable size mismatch in making a
calculation of MD5. On a ordinary system, sizeof(int) =
sizeof(long) = 4. But Digital Unix adopts LP64 architecture.
So you cannot use 'long' to represent 4bytes data.

  The fix is very simple. Apply the following patch. Good luck!

*** md5.h.org	Sat Mar 29 13:30:36 1997
--- md5.h	Tue Jun 24 17:48:21 1997
***************
*** 22,28 ****
--- 22,32 ----
  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
---
Masui Kenji
                                    Tokyo Institute of Technology
                                   Department of Computer Science
         Graduation School of Information Science and Engeneering
                                              Yonezaki laboratory



      reply	other threads:[~1997-07-09  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-08  4:00 Question: Does anyone run APOP under qpopper2.3 on Dec Alpha 3.2 Tricia McCarthy
1997-07-09  4:00 ` Masui Kenji [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