Re: contrib/pgcrypto patch for OpenSSL 0.9.8

From: Marko Kreen <marko(at)l-t(dot)ee>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: contrib/pgcrypto patch for OpenSSL 0.9.8
Date: 2005-07-03 13:06:27
Message-ID: 20050703130627.GB21756@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Sat, Jul 02, 2005 at 10:33:05PM -0400, Bruce Momjian wrote:
> Patch applied. Thanks.
> ---------------------------------------------------------------------------
> Michael Fuhr wrote:
> > This patch allows contrib/pgcrypto to build with OpenSSL 0.9.8
> > (currently in beta) when cryptolib = openssl. According to the
> > following checkin message from several years ago, OpenSSL application
> > developers should no longer rely on <openssl/evp.h> to include
> > everything they need:
> >
> > http://cvs.openssl.org/chngview?cn=9888
> >
> > This patch adds the necessary header files. It doesn't appear to
> > break anything when building against OpenSSL 0.9.7.
> >
> > BTW, core appears to build and work fine with OpenSSL 0.9.8. I've
> > built 7.3 through HEAD against 0.9.8-beta6 without noticing any
> > problems.

Thanks for the patch.

Bruce, please apply this additional patch, that fixes the
auto-detection of AES.

Now openssl.c just checks OpenSSL version. Whoever compiles
newer OpenSSL without AES is on his own.

--
marko

Attachment Content-Type Size
openssl-aes-fix.diff text/plain 596 bytes

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bernd Helmle 2005-07-03 15:29:35 ALTER OBJECT SET SCHEMA
Previous Message Dawid Kuroczko 2005-07-03 09:26:12 Re: [HACKERS] Dbsize backend integration