Re: [exim-dev] pgsql lookup TLS access broken in 4.82 RC2 ?

Top Page
Delete this message
Reply to this message
Author: Axel Rau
Date:  
To: Phil Pennock
CC: Exim Dev
Subject: Re: [exim-dev] pgsql lookup TLS access broken in 4.82 RC2 ?

Am 08.10.2013 um 08:05 schrieb Phil Pennock <pdp@???>:

> Possible, but we've changed nothing here. Please do try modifying
> src/lookups/pgsql.c to call this. Perhaps something like this:
>
> static void
> exim_pg_init()
> {
> static BOOL done;
>
>  if (!done) {
>    PQinitOpenSSL(0, 0);
>    done = TRUE;
>  }
> }

>
> and then call exim_pg_init() from near the start of
> perform_pgsql_search(). If this makes a difference, disabling crypto,
> then something hinky is going on if this ever worked for you before.

It makes a difference: It now logs:
---
gave DEFER: PGSQL connection failed: could not create SSL context: SSL error code 336236705
---
Axel
---
PGP-Key:29E99DD6 ☀ +49 151 2300 9283 ☀ computing @ chaos claudius