diff options
Diffstat (limited to 'security/pgp2/patches/patch-aa')
-rw-r--r-- | security/pgp2/patches/patch-aa | 46 |
1 files changed, 3 insertions, 43 deletions
diff --git a/security/pgp2/patches/patch-aa b/security/pgp2/patches/patch-aa index 55c80726c55..f40bde867ef 100644 --- a/security/pgp2/patches/patch-aa +++ b/security/pgp2/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.4 1998/08/07 11:13:45 agc Exp $ +$NetBSD: patch-aa,v 1.5 2005/12/01 20:19:57 wiz Exp $ ---- fileio.h.orig Sat Jan 6 14:46:36 1996 -+++ fileio.h Wed Mar 18 21:35:20 1998 +--- fileio.h.orig 1996-01-06 20:46:36.000000000 +0100 ++++ fileio.h @@ -21,15 +21,6 @@ #define FOPWPBIN "w+b","ctx=stm" #else @@ -18,43 +18,3 @@ $NetBSD: patch-aa,v 1.4 1998/08/07 11:13:45 agc Exp $ #define FOPRBIN "r" #define FOPRTXT "r" #define FOPWBIN "w" ---- md5.c.orig Sat Jan 6 15:21:09 1996 -+++ md5.c Wed Mar 18 21:36:42 1998 -@@ -15,6 +15,7 @@ - * will fill a supplied 16-byte array with the digest. - */ - #include <string.h> /* for memcpy() */ -+#include "usuals.h" - #include "md5.h" - - #ifndef HIGHFIRST ---- rsaglue2.c.orig Tue Jan 2 09:17:27 1996 -+++ rsaglue2.c Wed Mar 18 21:35:20 1998 -@@ -52,9 +52,8 @@ - Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc.\n\ - Distributed by the Massachusetts Institute of Technology.\n"); - --#include <global.h> --#include <rsaref.h> --#include <rsa.h> -+#include <rsaref/rsaref.h> -+#include <rsaref/rsa.h> - /* - * The functions we call in rsa.h are: - * ---- usuals.h.orig Fri Sep 15 08:18:52 1995 -+++ usuals.h Wed Mar 18 21:35:39 1998 -@@ -3,6 +3,13 @@ - #ifndef USUALS /* Assures no redefinitions of usual types...*/ - #define USUALS - -+#ifdef __NetBSD__ -+#include <sys/types.h> -+#if BYTE_ORDER == BIG_ENDIAN -+#define HIGHFIRST -+#endif -+#endif -+ - typedef unsigned char boolean; /* values are TRUE or FALSE */ - typedef unsigned char byte; /* values are 0-255 */ - typedef byte *byteptr; /* pointer to byte */ |