Thread: contrib/pgcrypto

contrib/pgcrypto

From
Marko Kreen
Date:
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


Attachment

Re: contrib/pgcrypto

From
Marko Kreen
Date:
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


Attachment

Re: contrib/pgcrypto

From
Peter Eisentraut
Date:
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/


Re: contrib/pgcrypto

From
Marko Kreen
Date:
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


Attachment