Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* PGP on RH5.1/Alpha
@ 1999-05-11  6:59 Miller, Scott K.
  1999-05-13 13:10 ` Konrad Podloucky
  0 siblings, 1 reply; 5+ messages in thread
From: Miller, Scott K. @ 1999-05-11  6:59 UTC (permalink / raw)
  To: axp-list

Anyone successfully compile PGP5.0i on RH5.1?  pgpMD5.c appears to have
problems.

skm





^ permalink raw reply	[flat|nested] 5+ messages in thread

* PGP on RH5.1/Alpha
@ 1999-05-11 20:04 Miller, Scott K.
  1999-05-11 21:23 ` mgraffam
  1999-05-12  8:39 ` Stefan Schroepfer
  0 siblings, 2 replies; 5+ messages in thread
From: Miller, Scott K. @ 1999-05-11 20:04 UTC (permalink / raw)
  To: axp-list

Has anyone successfully compiled PGP5.0i on RH5.1?  pgpMD5.c appears to
have problems.

skm






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PGP on RH5.1/Alpha
  1999-05-11 20:04 Miller, Scott K.
@ 1999-05-11 21:23 ` mgraffam
  1999-05-12  8:39 ` Stefan Schroepfer
  1 sibling, 0 replies; 5+ messages in thread
From: mgraffam @ 1999-05-11 21:23 UTC (permalink / raw)
  To: axp-list

On Tue, 11 May 1999, Miller, Scott K. wrote:

> Has anyone successfully compiled PGP5.0i on RH5.1?  pgpMD5.c appears to
> have problems.

Yeah, i have it working on my UDB running 5.1.. its a simple fix. 

The compilation errors are due to a type not getting defined, just make
sure that it does, and it will compile fine after that. 

there are patches floating around..

Sorry I can't be more specific.. it has been a long time since I set up
PGP on my Multia. 

Michael J. Graffam (mgraffam@idsi.net)
"Our merchants and master-manufacturers complain much of the bad effects
of high wages in raising the price, and thereby lessening the sale of
their goods both at home and abroad.  They say nothing concerning the bad
effects of high profits.  They are silent with regard to the pernicious
effects of their own gains." - Adam Smith, Wealth of Nations, Book I Chap. IX.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PGP on RH5.1/Alpha
  1999-05-11 20:04 Miller, Scott K.
  1999-05-11 21:23 ` mgraffam
@ 1999-05-12  8:39 ` Stefan Schroepfer
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Schroepfer @ 1999-05-12  8:39 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]

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 <string.h>     /* 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;

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: PGP on RH5.1/Alpha
  1999-05-11  6:59 PGP on RH5.1/Alpha Miller, Scott K.
@ 1999-05-13 13:10 ` Konrad Podloucky
  0 siblings, 0 replies; 5+ messages in thread
From: Konrad Podloucky @ 1999-05-13 13:10 UTC (permalink / raw)
  To: Miller, Scott K.; +Cc: axp-list


On 11-May-99 Miller, Scott K. wrote:
> Anyone successfully compile PGP5.0i on RH5.1?  pgpMD5.c appears to have
> problems.
> 
> skm
> 
There's a patch somewhere at www.pgpi.com.
If you can't find it, tell me and I'll dig through my filesystem, for the patch
I've written myself.

Konrad

______________________________________________________________________
  Konrad Podloucky <konrad@pelimbert.tssc.univie.ac.at>
  Vienna, Austria       PGP-key available by request

        Running LINUX on an Alpha

  "Windows 9x: n. 32 bit extensions and a graphical shell for a 16 bit
   patch to an 8 bit operating system originally coded for a 4 bit
   microprocessor, written by a 2 bit company that can't stand 1 bit 
   of competition."
                                      --Cygnus CygWin (aka GNU/Win32) FAQ


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-05-13 15:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-11  6:59 PGP on RH5.1/Alpha Miller, Scott K.
1999-05-13 13:10 ` Konrad Podloucky
  -- strict thread matches above, loose matches on Subject: below --
1999-05-11 20:04 Miller, Scott K.
1999-05-11 21:23 ` mgraffam
1999-05-12  8:39 ` Stefan Schroepfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox