Re: pgcrypto 3des failure, OpenSSL 0.9.8, Solaris 9/sparc

From: Marko Kreen <marko(at)l-t(dot)ee>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgcrypto 3des failure, OpenSSL 0.9.8, Solaris 9/sparc
Date: 2005-07-06 10:42:49
Message-ID: 20050706104249.GA27169@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jul 05, 2005 at 07:20:48PM -0400, Tom Lane wrote:
> Marko Kreen <marko(at)l-t(dot)ee> writes:
> > Ok Tom, you win. It is indeed possible to make it work, and the
> > resulting makefile is even cleaner than before.
> > Following patch thus autoconfigures pgcrypto. It drops the
> > possibility to use libc's crypt, which was pointless.
>
> Applied with a little extra hacking (completely overriding the original
> values of PG_CPPFLAGS and SHLIB_LINK was unwise, and in fact guaranteed
> to fail on machines where OpenSSL isn't in the default location).

Your PG_CPPFLAGS change does not work - it gets always RAND_SILLY.
If I change it from := to =, make complains about recursion.

--
marko

Attachment Content-Type Size
fix-cflags.diff text/plain 1002 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Perry 2005-07-06 13:49:27 By Passed Domain Constraints
Previous Message Dave Page 2005-07-06 10:07:01 Re: [HACKERS] Dbsize backend integration