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;