contrib/pgcrypto

Started by Marko Kreenalmost 26 years ago4 messagespatches
Jump to latest
#1Marko Kreen
markokr@gmail.com

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

--
marko

Attachments:

pgcrypto.diff.gzapplication/octet-streamDownload
#2Marko Kreen
markokr@gmail.com
In reply to: Marko Kreen (#1)
Re: contrib/pgcrypto

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

Attachments:

pgcrypto-2.diff.gzapplication/octet-streamDownload
#3Peter Eisentraut
peter_e@gmx.net
In reply to: Marko Kreen (#2)
Re: contrib/pgcrypto

Patch installed.

In some future release I'd like to see at least md5 and sha1 in core, but
we're to close to beta to try that now...

Marko Kreen writes:

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'

--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/

#4Marko Kreen
markokr@gmail.com
In reply to: Peter Eisentraut (#3)
Re: contrib/pgcrypto

On Tue, Oct 31, 2000 at 02:16:59PM +0100, Peter Eisentraut wrote:

Patch installed.

Cool!

Btw in pgcrypto-0.2 I added free() function so
we can avoid one memcpy in pg_mhash_digest() :)

Patch attached, against current CVS.

I also replaced the C++ style comments.

In some future release I'd like to see at least md5 and sha1 in core, but
we're to close to beta to try that now...

Most interesting part will be autoconfing external libraries...

--
marko

Attachments:

pgc-x.difftext/plain; charset=us-asciiDownload+21-12