Thread: pgsql/contrib/pgcrypto (md5.c md5.h pgcrypto.c pgcrypto.h sha1.c sha1.h)
pgsql/contrib/pgcrypto (md5.c md5.h pgcrypto.c pgcrypto.h sha1.c sha1.h)
From
momjian@postgresql.org
Date:
Date: Tuesday, January 9, 2001 @ 11:07:13 Author: momjian Update of /home/projects/pgsql/cvsroot/pgsql/contrib/pgcrypto from hub.org:/home/projects/pgsql/tmp/cvs-serv38607/pgsql/contrib/pgcrypto Modified Files: md5.c md5.h pgcrypto.c pgcrypto.h sha1.c sha1.h ----------------------------- Log Message ----------------------------- 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<B8> 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 <sys/types.h> from the code, its not needed -- marko Marko Kreen