Re: pgsql: Only provide openssl_tls_init_hook if building withopenssl - Mailing list pgsql-committers

From Andrew Dunstan
Subject Re: pgsql: Only provide openssl_tls_init_hook if building withopenssl
Date
Msg-id 670beaf0-5193-982c-3777-531b28ced1bb@2ndQuadrant.com
Whole thread Raw
In response to Re: pgsql: Only provide openssl_tls_init_hook if building with openssl  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
On 4/17/20 4:32 PM, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> Only provide openssl_tls_init_hook if building with openssl
> One or the other of these patches broke building without --with-openssl:
>
> fe-secure.c:435: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PQgetSSLKeyPassHook'
> fe-secure.c:441: error: expected ')' before 'hook'
> fe-secure.c:447: warning: no previous prototype for 'PQdefaultSSLKeyPassHook'
> make[3]: *** [fe-secure.o] Error 1
>
>             



I am not batting 1000 today. Apologies to all.


Looks like the libpq change should be reverted. I'll double check.


cheers


andrew


-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: pgsql: Only provide openssl_tls_init_hook if building withopenssl
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Revert "Only provide new libpq sslpasskey hook for openssl-enabl