pgcrypto 0.2

Started by Marko Kreenabout 25 years ago1 messages
#1Marko Kreen
marko@l-t.ee

http://www.l-t.ee/marko/pgsql/pgcrypto-0.2c.diff (context diff)
http://www.l-t.ee/marko/pgsql/pgcrypto-0.2u.diff (unidiff)

http://www.l-t.ee/marko/pgsql/pgcrypto-0.2.tar.gz

diffs are for currect CVS - contrib/pgcrypto, tarball is
standalone variant with autoconf and 7.0.x compat hacks.

Whats new:

. new function for freeing digest, that avoids a memcpy
in case of mhash.

. some header shuffling.

in tarball:

. autoconf PG_INIT has a support for pg_config.

The tarball is basically for testing general PostgreSQL
autoconf macros. I should do crypto library detection
macros too, but have not had time for that :(

On Fri, Oct 20, 2000 at 12:27:11AM +0200, Marko Kreen wrote:

as usual...

On Thu, Oct 19, 2000 at 11:09:44PM +0200, Marko Kreen wrote:

So, here it is. Changes:

. Fixed a bug in mhash.c :)
. uses regular contrib makefile, no autoconf
. license boilerplate. lifted it from
.../freebsd/src/share/examples/etc/bsd-style-copyright
. dropped 7.0.x support macros

. #include <sys/types> in pgcrypto.h
(I thought that postgres.h cares for that)
now compiles on FreeBSD

. defaults to 'builtin'

--
marko

--
marko