On Wed, Sep 26, 2007 at 04:40:53PM +0100, Dave Page wrote: > Dave Page wrote: > > [CCing Magnus as this could be a problem - pgAdmin 1.8 fails to connect > > to an SSL server with a 'real' certificate] > > > > Alejandro Gasca wrote: > >> Well, i download the postgresql-8.2.4-1-binaries-no-installer.zip. > >> the psql packed there connects without problem. > > > > Well the main difference between those builds is that pgAdmin 1.8 uses a > > version of libpq.dll compiled with MSVC++ rather than mingw, and ships > > with OpenSSL 0.9.8.5 instead of 0.9.8.1 - which is a touch worrying. > > OK, on further research it sounds like this might be problem: > > http://www.openssl.org/support/faq.html#PROG2 > > To recap, the error reported was: > > OPENSSL_Uplink(00914010,05): no OPENSSL_Applink. > > The patch below adds the applink code to libpq. Alejandro; may I send > you an updated libpq.dll to test? > > Magnus; assuming this works, we should add it to the server as well I > guess - src/backend/libpq/be-secure.c seem reasonable?
Yes. But we probably need an openssl version check as well, no? Won't it break on older openssl libs otherwise? //Magnus ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly