From e586026d10da39d591a43474c63fce73deb8f0d9 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 9 Jan 2001 16:07:14 +0000 Subject: The KAME files md5.* and sha1.* have the following changelog entry: ---------------------------- revision 1.2 date: 2000/12/04 01:20:38; author: tgl; state: Exp; lines: +18 -18 Eliminate some of the more blatant platform-dependencies ... it builds here now, anyway ... ---------------------------- Which basically changes u_int*_t -> uint*_t, so now it does not compile neither under Debian 2.2 nor under NetBSD 1.5 which is platform independent all right. Also it replaces $KAME$ with $Id$ which is Bad Thing. PostgreSQL Id should be added as a separate line so the file history could be seen. So here is patch: * changes uint*_t -> uint*. I guess that was the original intention * adds uint64 type to include/c.h because its needed [somebody should check if I did it right] * adds back KAME Id, because KAME is the master repository * removes stupid c++ comments in pgcrypto.c * removes from the code, its not needed -- marko Marko Kreen --- contrib/pgcrypto/pgcrypto.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'contrib/pgcrypto/pgcrypto.h') diff --git a/contrib/pgcrypto/pgcrypto.h b/contrib/pgcrypto/pgcrypto.h index 9d3ec5738ae..039d6cef79c 100644 --- a/contrib/pgcrypto/pgcrypto.h +++ b/contrib/pgcrypto/pgcrypto.h @@ -26,14 +26,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: pgcrypto.h,v 1.1 2000/10/31 13:11:28 petere Exp $ + * $Id: pgcrypto.h,v 1.2 2001/01/09 16:07:13 momjian Exp $ */ #ifndef _PG_CRYPTO_H #define _PG_CRYPTO_H -#include - typedef struct _pg_digest pg_digest; struct _pg_digest { char *name; -- cgit v1.2.3