tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: RSAREF on alpha?
@ 1995-06-30 22:13 cdm
  0 siblings, 0 replies; only message in thread
From: cdm @ 1995-06-30 22:13 UTC (permalink / raw)
  To: tru64-unix-managers

I asked:

>Has anyone got the RSAREF code to work on any version of Digital Unix?  
>It compiles clean, but goes into la-la land when I try to generate keys.

As usual, this group comes thru with flying colors.  Many thanks to:

"Jeffrey S. Jewett" <spider@umd5.umd.edu>
John Kohl <jtk@atria.com>
Don McKillican <dmckilli@QC.Bell.CA>
"Jeffrey C. Ollie" <jeffo@noc.netins.net>

The reply that worked the best was from Don:

>I got pgp to work, but my memory is a bit fuzzy on the details (I'm on
>vacation until July 10, and some things are a bit difficult to check on
>from home).  I think if you look at the .h files, you'll find one which
>tries to define some 4-byte data type as an int rather than a short.  If
>you can't find it by the 10th, let me know and I'll check when I get back
>to the office.

And sure enough, I looked in the file global.h, and there's the following:

typedef unsigned long int UINT4;

which I changed thusly:

#if defined(__osf__)
typedef unsigned int UINT4;
#else
typedef unsigned long int UINT4;
#endif

And now everything is working as it should, at least on the alpha.  We'll 
see about how it deals with other systems next :-)

The other replies suggested getting PGP, since it works on alphas, or to 
contact the fellow that wrote RIPEM.

Thanks very much again!

----dale
==========================================================================
Dale Cook                                         Telephone (208) 525-3708
Scientech, Inc                                    Email     cdm@Hyperk.com
1690 International Way                            Fax       (208) 529-4721
Idaho Falls, Id 83402                     http://spiderman.hyperk.com/~cdm

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-06-30 22:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-30 22:13 SUMMARY: RSAREF on alpha? cdm

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