From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31078 invoked from network); 12 May 1999 09:14:41 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 12 May 1999 09:14:41 -0000 Received: from scandd1.fhg.de ([192.102.167.4]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id EAA16217 for ; Wed, 12 May 1999 04:38:58 -0400 Received: from iis.fhg.de (localhost [127.0.0.1]) by scandd1.fhg.de (8.9.2/8.9.2) with ESMTP id KAA19736 for ; Wed, 12 May 1999 10:34:48 +0200 (MET DST) Received: by iis.fhg.de with SMTP; Wed, 12 May 1999 10:34:49 +0200 (MET DST) from sunserv02.iis.fhg.de Received: from ew003 by sunserv02.iis.fhg.de (SMI-8.6/SMI-SVR4) id KAA01393; Wed, 12 May 1999 10:34:48 +0200 Sender: scr@iis.fhg.de Message-ID: <37393E5A.4DAA423A@iis.fhg.de> Date: Wed, 12 May 1999 10:39:54 +0200 From: Stefan Schroepfer Organization: FHG-IIS X-Mailer: Mozilla 3.0 (X11; I; SunOS 4.1.3_U1 sun4m) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: PGP on RH5.1/Alpha References: Content-Type: multipart/mixed; boundary="MimeMultipartBoundary" --MimeMultipartBoundary Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Miller, Scott K. wrote: > > Has anyone successfully compiled PGP5.0i on RH5.1? pgpMD5.c appears to > have problems. That's what I did: ./lib/pgp/include/pgpUsuals.h: forced typedef of word64 and int64 types to be unconditional ./apps/pgp/filter.c: changed type of len in keyValidityOK () from int to size_t, which lead to a compiler warning and --- more seriously to a SIGSEGV during runtime when issuing a encryption command like 'pgpe -r scr@iis.fhg.de -sat bla.txt' Regards, Stefan Schroepfer --- lib/pgp/include/pgpUsuals.h.orig Sat Aug 9 22:44:58 1997 +++ lib/pgp/include/pgpUsuals.h Thu Jan 14 01:24:23 1999 @@ -66,13 +66,20 @@ * IRIX uses ULONGLONG_MAX. Are there any other names for this? */ + /* #ifndef HAVE64 #if defined(ULONG_LONG_MAX) || defined (ULLONG_MAX) || defined(ULONGLONG_MAX) + */ typedef unsigned long long word64; typedef long long int64; #define HAVE64 1 + /* #endif #endif + */ #include /* Prototype for memset */ /* --- apps/pgp/filter.c.orig Sat Feb 7 20:04:41 1998 +++ apps/pgp/filter.c Thu Jan 14 23:29:35 1999 @@ -269,7 +269,7 @@ struct RingIterator *NameIter = NULL; union RingObject *name; Boolean OKToUse = FALSE, FoundName = FALSE; - int len = 0; + size_t len = 0; int trust; char *TempNameString = NULL; --MimeMultipartBoundary--